[OSM-dev] osm2pgsql make error on CentOS 5.5 64bit

prashant N massoo at hotmail.com
Mon May 30 06:53:08 BST 2011


Hi,

I am trying to install osm2pgsql SVN version and while issuing the "make" command it throws out error :

/usr/local/include/geos/geom/CoordinateSequenceFactory.h:81: note:                 virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const
build_geometry.cpp:487: error: cannot convert from base âgeos::geom::Geometryâ to derived type âgeos::geom::Polygonâ via virtual base âgeos::geom::Geometryâ
make[2]: *** [build_geometry.o] Error 1
make[2]: Leaving directory `/data/1/osm2pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/1/osm2pgsql'
make: *** [all] Error 2

There are no errors in autogen.sh and configure commands

System details :

OS : CentOS 5.5 64bit
geos : geos-3.2.2-1.rhel5 and geos-devel-3.2.2-1.rhel5
libxml2 : libxml2-python-2.6.26-2.1.2.8.el5_5.1, libxml2-2.6.26-2.1.2.8.el5_5.1 and libxml2-devel-2.6.26-2.1.2.8.el5_5.1
proj : proj-devel-4.5.0-3.el5, proj-nad-4.7.0-1.rhel5, proj-devel-4.7.0-1.rhel5, proj-epsg-4.7.0-1.rhel5, proj-4.5.0-3.el5 and   
         proj-4.7.0-1.rhel5
bzip2: bzip2-libs-1.0.3-6.el5_5, bzip2-devel-1.0.3-6.el5_5 and bzip2-1.0.3-6.el5_5
postgres : postgresql90-9.0.4-1PGDG.rhel5, postgresql90-libs-9.0.4-1PGDG.rhel5, postgresql90-devel-9.0.4-1PGDG.rhel5, postgresql90-server-9.0.4-1PGDG.rhel5 and postgresql90-contrib-9.0.4-1PGDG.rhel5
postgis : 1.5 compiled from source
autoconf : 2.6.8 compiled from source

Please help me to resolve the issue


THANKS

& REGARDS
PRASHANT .N.

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110530/5ae00377/attachment.html>


More information about the dev mailing list