[postgis-users] Problem compiling postgis 0.8.2
strk at refractions.net
strk at refractions.net
Thu Dec 9 14:13:43 PST 2004
On Thu, Dec 09, 2004 at 10:42:43PM +0100, SIGéal wrote:
> 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.
Postgis 0.8 does not work with GEOS-2.x.x
Downgrage geos or upgrade postgis to 0.9.x
>
> What does -DSYSCONFDIR='"/usr/local/pgsql/etc"' mean ? I don't have such
> a directory...
Nothing.. the directive is no more there as from CVS version
--strk;
>
> 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
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list