[postgis-devel] PostGIS compile problem

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Feb 28 13:43:33 PST 2012


Hi,

I just updated my geos to this one:

http://download.osgeo.org/geos/geos-3.3.2.tar.bz2

(the svn trunk does not compile) and still PostGIS complain with like this:

/bin/sh ../libtool --mode=compile gcc -g -O2  -DDLL_EXPORT -DPIC  -Wall -Wmissing-prototypes -I/c/projects/geos/rel-3.3.2/include -I/c/proje
cts/pg/pg90/include -c -o lwgeom_geos.lo lwgeom_geos.c
libtool: compile:  gcc -g -O2 -DDLL_EXPORT -DPIC -Wall -Wmissing-prototypes -I/c/projects/geos/rel-3.3.2/include -I/c/projects/pg/pg90/inclu
de -c lwgeom_geos.c  -DDLL_EXPORT -DPIC -o .libs/lwgeom_geos.o
lwgeom_geos.c: In function `lwgeom_snap':
lwgeom_geos.c:937: error: `POSTGIS_GEOS_VERSION' undeclared (first use in this function)
lwgeom_geos.c:937: error: (Each undeclared identifier is reported only once
lwgeom_geos.c:937: error: for each function it appears in.)
lwgeom_geos.c: In function `lwgeom_sharedpaths':
lwgeom_geos.c:1001: error: `POSTGIS_GEOS_VERSION' undeclared (first use in this function)
lwgeom_geos.c: In function `LWGEOM2GEOS':
lwgeom_geos.c:265: warning: unreachable code at beginning of switch statement
make[1]: *** [lwgeom_geos.lo] Error 1
make[1]: Leaving directory `/c/projects/postgis/liblwgeom'
make: *** [all] Error 1



More information about the postgis-devel mailing list