[OSM-dev] Problem building osm2pgsql from source
Jon Burgess
jburgess777 at gmail.com
Wed Jun 13 23:45:50 BST 2012
On Wed, 2012-06-13 at 15:15 -0700, Michael Corey wrote:
> Hi all: Please excuse me if this isn't the right list for this.
>
>
>
> While following the directions for installing osm2pgsql from source, I
> get a fatal error while running 'make':
>
> build_geometry.Tpo -c -o build_geometry.o build_geometry.cpp
> build_geometry.cpp:29:26: fatal error: geos/version.h: No such file or
> directory
> compilation terminated.
>
What distro are you building this on?
The version.h file should be part of the geos library headers, e.g.
Ubuntu:
$ dpkg -S /usr/include/geos/version.h
libgeos-dev: /usr/include/geos/version.h
Fedora:
$ rpm -qf /usr/include/geos/version.h
geos-devel-3.3.1-1.fc16.x86_64
Jon
More information about the dev
mailing list