[OSM-dev] Problem building osm2pgsql from source
Sarah Hoffmann
lonvia at denofr.de
Thu Jun 14 00:02:09 BST 2012
On Wed, Jun 13, 2012 at 11:45:50PM +0100, Jon Burgess wrote:
> 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
Also try to install the libgeos++-dev package.
Debian has moved the headers there recently.
Sarah
More information about the dev
mailing list