[postgis-users] PostGIS 1.1.0 Compile Error - make[1]: *** [lwgeom_geos_wrapper.o] Erreur 1

Veronique Chaffard Veronique.Chaffard at hmg.inpg.fr
Mon Jan 9 06:41:33 PST 2006


I am trying to install Postgis-1.1.0 with postgresql-7.4.6 on Fedora Core 2.
I get this error with make:
.....
lwgeom_geos_wrapper.cpp:1699: error: erreur de syntaxe before `}' token
lwgeom_geos_wrapper.cpp:1727: error: `Geometry' was not declared in this 
scope
lwgeom_geos_wrapper.cpp:1728: error: redefinition of `int GEOSGetSRID'
lwgeom_geos_wrapper.cpp:152: error: `int GEOSGetSRID' previously defined 
here
lwgeom_geos_wrapper.cpp:1728: error: erreur de syntaxe before `{' token
lwgeom_geos_wrapper.cpp: Dans function « char* GEOSversion() »:
lwgeom_geos_wrapper.cpp:1755: error: `string' undeclared (first use this
   function)
lwgeom_geos_wrapper.cpp:1755: error: erreur de syntaxe before `=' token
lwgeom_geos_wrapper.cpp:1756: error: `version' undeclared (first use this
   function)
lwgeom_geos_wrapper.cpp: Dans function « char* GEOSjtsport() »:
lwgeom_geos_wrapper.cpp:1771: error: erreur de syntaxe before `=' token
lwgeom_geos_wrapper.cpp: At global scope:
lwgeom_geos_wrapper.cpp:1779: error: `Geometry' was not declared in this 
scope
lwgeom_geos_wrapper.cpp:1780: error: redefinition of `bool GEOSHasZ'
lwgeom_geos_wrapper.cpp:161: error: `bool GEOSHasZ' previously defined here
lwgeom_geos_wrapper.cpp:1780: error: erreur de syntaxe before `{' token
lwgeom_geos_wrapper.cpp:1783: error: base operand of `->' is not a pointer
lwgeom_geos_wrapper.cpp:1786: error: erreur de syntaxe before `return'
lwgeom_geos_wrapper.cpp:1794: error: erreur de syntaxe before `*' token
lwgeom_geos_wrapper.cpp:1801: error: erreur de syntaxe before `*' token
lwgeom_geos_wrapper.cpp:1828: error: erreur de syntaxe before `*' token
lwgeom_geos_wrapper.cpp: Dans function « void
   __static_initialization_and_destruction_0(int, int) »:
lwgeom_geos_wrapper.cpp:500: attention : statement with no effect
make[1]: *** [lwgeom_geos_wrapper.o] Erreur 1
make[1]: Leaving directory 
`/usr/local/src/pgsql/postgresql-7.4.6/contrib/postgis-1.1.0/lwgeom'
make: *** [liblwgeom] Erreur 2

Any ideas about what's wrong?

Thanks in advance.
Véronique



More information about the postgis-users mailing list