[OSM-dev] Error While Installing osm2pgsql
Parveen Arora
parveenaroraosm at gmail.com
Sat Jan 29 17:21:43 GMT 2011
On Sat, Jan 29, 2011 at 10:31 PM, strk <strk at keybit.net> wrote:
> On Sat, Jan 29, 2011 at 10:27:31PM +0530, Parveen Arora wrote:
>> On Sat, Jan 29, 2011 at 10:16 PM, strk <strk at keybit.net> wrote:
>> > On Sat, Jan 29, 2011 at 10:09:04PM +0530, Parveen Arora wrote:
>> >
>> >> 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 ?
>>
>> I am following this
>> http://weait.com/content/build-your-own-openstreetmap-server tutorial.
>> I think I have not installed any GEOS yet.
>
> You must have, or you wouldn't have
> /usr/include/geos/geom/prep/PreparedPolygon.h either.
>
> Maybe is partial or otherwise corrupted install.
I have removed the error thank's for your Information.
My system needs to be install following dependencies
$ sudo apt-get install build-essential libxml2-dev libgeos-dev
libpq-dev libbz2-dev proj
Now Its ok.
Thank you very much
--
With Kind Regards
Parveen Arora
More information about the dev
mailing list