[OSM-dev] Error in Makefile for osm2pgsql on OSX

Simon Gornall simon.gornall at me.com
Sat Apr 24 06:27:58 BST 2010


At least on my system (10.6.3) I had to add:

	CPPFLAGS = $(CFLAGS)

... to get the Makefile to build build_geometry.cpp - otherwise there were no CFLAGS set, and the build failed.

It might be worth mentioning on the wiki that you need to do a 'sudo port install postgis' as well - ok, it's obvious once it's pointed out, but for us newbies it ain't necessarily so :)

Simon





More information about the dev mailing list