[postgis-users] geos error when compile

claudio cesar trevisani claudio.trevisani at pmmg.mg.gov.br
Wed Sep 27 16:04:41 PDT 2006


I'm installing a Postgresql "7.4.5" database on debian and I'm trying to 
install geos (1.0 ... 2.0...) for use with Postgis & Postgresql. After the 
configure (see below) I do a make and the error apear:

g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -
I../../source/headers -DGEOS_VERSION=2.2.1 -g -O2 -MT Coordinate.lo -MD -MP -
MF .deps/Coordinate.Tpo -c Coordinate.cpp  -fPIC -DPIC -o .libs/Coordinate.o
../../source/headers/geos/geom.h:361: error: extra 
qualification 'geos::Coordinate::' on member 'setNull'
../../source/headers/geos/geom.h:367: error: extra 
qualification 'geos::Coordinate::' on member 'getNull'
../../source/headers/geos/geom.h:371: error: extra 
qualification 'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:377: error: extra 
qualification 'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:384: error: extra 
qualification 'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:394: error: extra 
qualification 'geos::Coordinate::' on member 'Coordinate'
../../source/headers/geos/geom.h:400: error: extra 
qualification 'geos::Coordinate::' on member 'setCoordinate'
../../source/headers/geos/geom.h:406: error: extra 
qualification 'geos::Coordinate::' on member 'equals2D'
../../source/headers/geos/geom.h:416: error: extra 
qualification 'geos::Coordinate::' on member 'compareTo'
../../source/headers/geos/geom.h:432: error: extra 
qualification 'geos::Coordinate::' on member 'equals3D'
../../source/headers/geos/geom.h:436: error: extra 
qualification 'geos::Coordinate::' on member 'makePrecise'
../../source/headers/geos/geom.h:441: error: extra 
qualification 'geos::Coordinate::' on member 'distance'
../../source/headers/geos/geom.h:447: error: extra 
qualification 'geos::Coordinate::' on member 'hashCode'
../../source/headers/geos/geom.h:459: error: extra 
qualification 'geos::Coordinate::' on member 'hashCode'

How can I solve it?

Thanks,

Claudio Cesar Trevisani



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the postgis-users mailing list