[postgis-users] Compilation problem: 1.1.4 with PostgreSQL 7.3

Fran Boon flavour at partyvibe.com
Mon Oct 9 05:12:40 PDT 2006


OS: RedHat Enterprise 3.x
$ pg_config --version
PostgreSQL 7.3.15-RH
proj-4.4.9
geos-3.0.0rc1

./configure --with-geos=/usr/local/bin/geos-config \ --with-proj=/usr/local

-------------------------------------------------------
HOST_OS: linux-gnu

    PGSQL: /usr/bin/pg_config
     GEOS: /usr/local/bin/geos-config (with C-API)
           (ldflags: -L/usr/local/lib)
     PROJ: prefix=/usr/local libdir=/usr/local/lib
    ICONV: 1

PORTNAME: linux
    PREFIX: /usr
   EPREFIX: ${prefix}
       DOC: /usr/share/doc/postgresql/contrib
      DATA: /usr/share/pgsql/contrib
       MAN: /usr/share/man
       BIN: /usr/bin
       EXT: /usr/lib/pgsql (\$$libdir)
-------------------------------------------------------

1.1.3 compiles fine

1.1.4 fails:

gcc -DUSE_VERSION=73 -DPOSTGIS_LIB_VERSION='"1.1.4"' 
-DPOSTGIS_VERSION='"1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"' 
-DPOSTGIS_SCRIPTS_VERSION='"1.1.4"' -DPOSTGIS_BUILD_DATE='"2006-10-09 
12:09:50"' -I/usr/local/include -DUSE_PROJ  -I/usr/include/pgsql/server 
-DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g -O2 -fPIC -fexceptions 
-DUSE_GEOS -I/usr/local/include     -c -o lwgeom_gist.o lwgeom_gist.c
lwgeom_gist.c:547:1: directives may not be used inside a macro argument
lwgeom_gist.c:546:56: unterminated argument list invoking macro 
"gistentryinit"
lwgeom_gist.c: In function `LWGEOM_gist_compress':
lwgeom_gist.c:550: `gistentryinit' undeclared (first use in this function)
lwgeom_gist.c:550: (Each undeclared identifier is reported only once
lwgeom_gist.c:550: for each function it appears in.)
lwgeom_gist.c:550: syntax error before "entry"
lwgeom_gist.c:561:1: directives may not be used inside a macro argument
lwgeom_gist.c:560:69: unterminated argument list invoking macro 
"gistentryinit"
lwgeom_gist.c:564: syntax error before "entry"
make[1]: *** [lwgeom_gist.o] Error 1
make[1]: Leaving directory `/tmp/postgis-1.1.4/lwgeom'
make: *** [liblwgeom] Error 2


Many thanks for any help :)

Fran.



More information about the postgis-users mailing list