[OSM-dev] osmium (osmjs) compile problem
frederik at remote.org
Mon Oct 17 08:24:40 BST 2011
On 10/17/2011 04:12 AM, Martijn van Exel wrote:
> I'm compiling osmium on Ubuntu 10.04.3 LTS. The first problem occurs
> when I try to compile the OSM PBF library. It does not work via the
> debuild route, which gives me:
> fileformat.pb.h:16:2: error: #error This file was generated by an older
> version of protoc which is
> fileformat.pb.h:17:2: error: #error incompatible with your Protocol
> Buffer headers. Please
> fileformat.pb.h:18:2: error: #error regenerate this file with a newer
> version of protoc.
> I can make / make install and that seems to go OK.
I solved this by backporting a more recent version of protobuf. Debian
packages for lucid are here:
> On to Osmium where I run into trouble trying to compile osmjs:
Sadly this seems to be more complicated; lucid's standard V8 is too old
and backporting a newer version requires a ton of dependencies. I
compiled v8 from source and modified the -L and -I flags in the osmjs
Makefile to point to my local version.
More information about the dev