Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[osm2pgsql] no cflags for g++ (freebsd) (and remove malloc.h) #3040

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: ekes
[Submitted to the original trac issue database at 4.32pm, Tuesday, 8th June 2010]

I'm guessing this is a freebsd thing? So I don't know if this is documentation or what (hence Type: enhancement). I've now successfully complied osm2pgsql (or so far so good), however to do so:-

I did a hack on the Makefile

  CXXFLAGS += CFLAGS

As I understood the configuration the g++ should also be called with the includes within CFLAGS, but it wasn't... so /usr/local/include wasn't there for geos/*.h

(I also had to remove include malloc.h)

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 7.22pm, Sunday, 25th September 2011]

Is this bug still applicable? Since this report, the configure system has changed quite a bit (now uses autotools). Could you please verify if the current SVN version works or is still broken?

@openstreetmap-trac
Copy link
Author

Author: amm
[Added to the original trac issue at 7.28pm, Saturday, 4th August 2012]

Close as no response to the ticket in a long time and things have changed in this area.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant