[OSM-dev] Error While Installing osm2pgsql

Parveen Arora parveenaroraosm at gmail.com
Sun Jan 30 03:40:09 GMT 2011


On Sun, Jan 30, 2011 at 1:02 AM, Frederik Ramm <frederik at remote.org> wrote:
> 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.

The Planet file has been started importing with osm2pgsql
by following the same procedure as you said above.
Thank's
Thank's a'lot for your help :))

-- 
With Kind Regards
Parveen Arora



More information about the dev mailing list