On Sun, Jan 30, 2011 at 12:16 AM, Graham Jones <[email protected]> wrote: > Parveen, > It sounds as though you have not compiled osm2pgsql? > I don't know which operating system you are using, so I would suggest going > through the instructions at http://wiki.openstreetmap.org/wiki/Osm2pgsql. > It has always compiled easily for me on my Ubuntu based machines. Yes I am also using Ubuntu10.04 I had compiled osm2pgsql, and It was also successful But now I once again tried to compile it, and It is also giving the same problem as it was previously giving. Error during compilation is:
make make all-recursive make[1]: Entering directory `/home/parveen/bin/osm2pgsql' Making all in gazetteer make[2]: Entering directory `/home/parveen/bin/osm2pgsql/gazetteer' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/parveen/bin/osm2pgsql/gazetteer' 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"' -O2 -march=native -fomit-frame-pointer -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 In file included from build_geometry.cpp:37: /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: ‘geos::noding::SegmentString’ has not been declared /usr/include/geos/geom/prep/PreparedPolygon.h:51: error: expected ‘;’ before ‘segStrings’ make[2]: *** [build_geometry.o] Error 1 make[2]: Leaving directory `/home/parveen/bin/osm2pgsql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/parveen/bin/osm2pgsql' make: *** [all] Error 2 -- With Kind Regards Parveen Arora www.parveenarora.in _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

