[postgis-devel] PostGIS compile problem

Paul Ramsey pramsey at opengeo.org
Tue Feb 28 13:45:43 PST 2012


Environment, tool-chain? ./autogen, ./configure?
P

On Tue, Feb 28, 2012 at 1:43 PM, Pierre Racine
<Pierre.Racine at sbf.ulaval.ca> wrote:
> 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
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list