Hi,

Parveen Arora wrote:
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

This is due to geos packages on a number of Ubuntu releases (I *think* it is jaunty, karmic, and lucid) being broken. (There may be breakage on Debian as well but I've only witnessed on Ubuntu.)

For example, the above file is not included in the geos-dev package in jaunty:

$ dpkg -L libgeos-dev|grep SegmentString
$

but if you apt-get source geos-dev, then sure enough

$ find geos-3.0.0 -name SegmentString.h
geos-3.0.0/source/headers/geos/noding/SegmentString.h
$

i.e. these files are not copied into the geos-dev package. You can fix the problem by copying them from the source manually, or put them into your osm2pgsql directory and modify the include path.

Newest Ubuntu release, maverick, does not have the problem.

This did not affect osm2pgsql until recently, but the change that works with prepared statements brought it on.

Bye
Frederik

--
Frederik Ramm  ##  eMail [email protected]  ##  N49°00'09" E008°23'33"

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to