[postgis-devel] building from source on RHEL ES 3

Tony Grant tony at tgds.net
Wed Dec 20 00:07:03 PST 2006


Hello,

I am trying to compile on RHEL ES 3 (kept up to date with yum)

The following error occurs. I have  geos-2.1.4-1.i386.rpm (+ devel) and
proj-4.4.8-4.i386.rpm (+ devel) installed.

Am I missing another dependency?

Cheers

Tony

gcc -DUSE_VERSION=81 -DPOSTGIS_LIB_VERSION='"1.1.6"'
-DPOSTGIS_VERSION='"1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"'
-DPOSTGIS_SCRIPTS_VERSION='"1.1.6"' -DPOSTGIS_BUILD_DATE='"2006-12-20
08:00:43"' -I/usr/include -DUSE_PROJ  -I/usr/include/pgsql/server
-DAUTOCACHE_BBOX=1  -DUSE_STATS -Wall -g -O2 -fPIC -fexceptions
-DUSE_GEOS    -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 `/home/tony/postgis-1.1.6/lwgeom'
make: *** [liblwgeom] Error 2
-- 




More information about the postgis-devel mailing list