[postgis-users] Problem compiling postgis 0.8.2
SIGéal
sigeal at sigeal.fr
Thu Dec 9 13:42:43 PST 2004
Hi,
I am trying to compile Postgis 0.8.2 with geos 2.1.0 support against
postgresql 7.4.5, and I get the following error message :
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUSE_VERSION=74
-I/usr/local/include/geos -DUSE_GEOS -I/usr/include -DUSE_PROJ
-DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o
postgis_geos.o postgis_geos.c
postgis_geos.c:274: attention : `resize_ptrArrayType' defined but not used
g++ -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -g -fexceptions -I. -DFRONTEND
-DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUSE_VERSION=74
-I/usr/local/include/geos -DUSE_GEOS -I/usr/include -DUSE_PROJ -fPIC
-I../../src/include -D_GNU_SOURCE -c -o postgis_geos_wrapper.o
postgis_geos_wrapper.cpp
cc1plus: attention : "-Wmissing-declarations" is valid for C/ObjC but
not for
C++
postgis_geos_wrapper.cpp: Dans function « geos::Geometry*
PostGIS2GEOS_box3d(BOX3D*, int) »:
postgis_geos_wrapper.cpp:197: error: `BasicCoordinateList' undeclared (first
use this function)
postgis_geos_wrapper.cpp:197: error: (Each undeclared identifier is reported
only once for each function it appears in.)
I suspect a path problem, but can't manage to identify it. My Postgresql
source tree is under /var/tmp/postgis-0.8.2/work/postgresql-7.4.5/
Postgresql compiled ok. I then untar postgis-8.2.0.tar.gz in the contrib
directory.
What does -DSYSCONFDIR='"/usr/local/pgsql/etc"' mean ? I don't have such
a directory...
I cared to configure postgresql with LDFLAGS=-lstdc++
I modified postgis Makefile according to my proj and geos directories
Any help appreciated. Thanks in advance.
--
SIGéal
"Chez Charles"
16480 Saint Laurent des Combes
Téléphone : 05 45 98 36 06
Télécopie : 05 45 98 36 07
Courriel : sigeal at sigeal.fr
More information about the postgis-users
mailing list