[OSM-dev] Error While Installing osm2pgsql
Patrick Kilian
osm at petschge.de
Sat Jan 29 17:18:28 GMT 2011
Hi all,
>> make[2]: Entering directory `/home/parveen/bin/osm2pgsql'
>> g++ -DHAVE_CONFIG_H -I. -pthread -I/usr/include/postgresql
>> -I/usr/include/libxml2 -I/usr/include -I/usr/include -I/usr/include
>> -DOSM2PGSQL_DATADIR='"/usr/local/share"' -g -O2 -MT build_geometry.o
>> -MD -MP -MF .deps/build_geometry.Tpo -c -o build_geometry.o
>> build_geometry.cpp
>> In file included from build_geometry.cpp:37:
>> /usr/include/geos/geom/prep/PreparedPolygon.h:21:40: error:
>> geos/noding/SegmentString.h: No such file or directory
>
> Which version of GEOS do you have ?
There was a similar report on IRC this week. That user could only
convince osm2pgsql to build using libgeos 3.2. Version 3.1 did not work
although the source could says that 3.1 should have prepared geometries
and should work. I wonder if this is related to r25070.
HTH,
Patrick "Petschge" Kilian
More information about the dev
mailing list