[postgis-users] postgis 2 installation failing
woklist at kyngchaos.com
Fri Mar 18 07:13:20 PDT 2011
On Mar 18, 2011, at 8:34 AM, William Kyngesburye wrote:
> How are you configuring PostGIS? I have build instructions on my site (use the framework alternate at the bottom of the postgis page). It's more than a simple configure, you need to set some environment variables.
Of course, those instructions are for 1.5. For 2.0:
export CFLAGS="-Os -arch i386 -arch x86_64"
export PG_CPPFLAGS="-arch i386 -arch x86_64"
export SHLIB_LINK="-arch i386 -arch x86_64"
export LDFLAGS="-arch i386 -arch x86_64"
./configure --with-pgconfig=/usr/local/pgsql-9.0/bin/pg_config \
--with-raster --with-topology \
So, lwgeom builds, but I get the error in shp2pgsql-core.c. The other shp2pgsql sources compile. It looks like shp2pgsql-core.c compile doesn't get any -I flags so it can't find my libintl header.
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
"I ache, therefore I am. Or in my case - I am, therefore I ache."
More information about the postgis-users