[postgis-users] Compilation problem for Postgis-1.5.4 on Debian Squeeze

Eric ericfrancois at hotmail.com
Tue Jul 3 14:27:46 PDT 2012


Hello,

I’ve some problems to make Postgis-1.5.4 compilation On Debian Squeeze.

 

After the “./configure “, “make” command end like that:

gcc -g -O2 -g -Wall -O2 -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -g
-fpic -I/usr/include  -I/usr/include/libxml2 -I../liblwgeom -I. -I.
-I/usr/include/postgresql/9.0/server -I/usr/include/postgresql/internal
-D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
lwgeom_cache.o lwgeom_cache.c

In file included from lwgeom_cache.h:21,

                 from lwgeom_cache.c:16:

lwgeom_geos_prepared.h:60: erreur: expected ‘:’, ‘,’, ‘;’, ‘}’ or
‘__attribute__’ before ‘*’ token

make[1]: *** [lwgeom_cache.o] Erreur 1

make[1]: quittant le répertoire « /source/postgis-1.5.4/postgis »

make: *** [postgis] Erreur 2

 

 

gcc (Debian 4.4.5-8) 4.4.5 on Debian Squeeze

 

The ./configure result:

PostGIS is now configured for i686-pc-linux-gnu

 

-------------- Compiler Info -------------

  C compiler:           gcc -g -O2

  C++ compiler:         g++ -g -O2

 

-------------- Dependencies --------------

  GEOS config:          /usr/bin/geos-config

  GEOS version:         3.2.0

  PostgreSQL config:    /usr/bin/pg_config

  PostgreSQL version:   PostgreSQL 9.0.7

  PROJ4 version:        47

  Libxml2 config:       /usr/bin/xml2-config

  Libxml2 version:      2.7.8

  PostGIS debug level:  0

 

-------- Documentation Generation --------

  xsltproc:             /usr/bin/xsltproc

  xsl style sheets:

  dblatex:              /usr/bin/dblatex

  convert:              /usr/bin/convert

 

 

Thanks for any idea

 

Eric

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120703/c2e6c54a/attachment.html>


More information about the postgis-users mailing list