Claudius, I frequently build/rebuild osm2pgsql on 10.5.
I recommend doing it from svn. I have postgres/postgis, proj, and geos installed via: http://www.kyngchaos.com/software:unixport Therefore I have the postgres header here... $ locate libpq-fe.h /usr/local/pgsql/include/libpq-fe.h And here is my Makefile diff: svn diff Makefile Index: Makefile =================================================================== --- Makefile (revision 13440) +++ Makefile (working copy) @@ -7,6 +7,7 @@ CFLAGS += -g -O2 -Wall -Wextra CFLAGS += $(shell xml2-config --cflags) +CFLAGS += -I/Library/Frameworks/PROJ.framework/unix/include CFLAGS += $(shell geos-config --cflags) CFLAGS += -I$(shell pg_config --includedir) CFLAGS += -DVERSION=\"$(VERSION)-$(SVN)\" @@ -21,7 +22,8 @@ LDFLAGS += $(shell geos-config --libs) LDFLAGS += -L$(shell pg_config --libdir) -lpq LDFLAGS += -lbz2 -lz -LDFLAGS += -g -lproj +#LDFLAGS += -g -lproj +LDFLAGS += -L/Library/Frameworks/PROJ.framework/unix/lib -lproj LDFLAGS += -lstdc++ LDFLAGS += -lpthread Cheers, Dane On Jan 29, 2009, at 3:36 AM, Claudius Henrichs wrote: > I'm setting up a mapnik-tileserver on MacOS 10.5 and currently stuck > at > compiling osm2pgsql on MacOS. make get's stuck because it cannot find > "libpq-fe.h", a header that is not included in the PostgreSQL sources > either. Anyone got version 0.55 compiled on MacOS yet? > > Regards, > Claudius > > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

