Thanks both. I will see if I can get it to work with my admittedly limited Linux administrator skills. If and when I do, I will document it on the wiki, because as far as I know, 10.04 is still the LTS version and probably in active use for that reason - at least that's why I'm still on 10.04 on my server.<br>
<br>Martijn<br><br><div class="gmail_quote">On Mon, Oct 17, 2011 at 1:39 AM, Jochen Topf <span dir="ltr"><<a href="mailto:jochen@remote.org">jochen@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sun, Oct 16, 2011 at 08:12:05PM -0600, Martijn van Exel wrote:<br>
> I'm compiling osmium on Ubuntu 10.04.3 LTS. The first problem occurs when I<br>
> try to compile the OSM PBF library. It does not work via the debuild route,<br>
> which gives me:<br>
><br>
> fileformat.pb.h:16:2: error: #error This file was generated by an older<br>
> version of protoc which is<br>
> fileformat.pb.h:17:2: error: #error incompatible with your Protocol Buffer<br>
> headers. Please<br>
> fileformat.pb.h:18:2: error: #error regenerate this file with a newer<br>
> version of protoc.<br>
<br>
</div>Ubuntu versions before 10.10 come with a version of the Google Protobuf stuff<br>
thats too old. You have to either upgrade your Ubuntu, backport a newer<br>
protobuf package or compile and install it from sources yourself.<br>
<div class="im"><br>
> I can make / make install and that seems to go OK.<br>
><br>
> On to Osmium where I run into trouble trying to compile osmjs:<br>
><br>
> ../include/osmium/osm/tag_list.hpp: In member function<br>
> âv8::Handle<v8::Array> Osmium::OSM::TagList::js_enumerate_tag_keys() constâ:<br>
> ../include/osmium/osm/tag_list.hpp:138: error: no matching function for call<br>
> to âv8::Array::Set(int, v8::Local<v8::String>)â<br>
> /usr/include/v8.h:1145: note: candidates are: bool<br>
> v8::Object::Set(v8::Handle<v8::Value>, v8::Handle<v8::Value>,<br>
> v8::PropertyAttribute)<br>
><br>
> and many similar messages. Do I have an incompatible version of the V8<br>
> library or what is the matter here?<br>
<br>
</div>Again, Ubuntu before 10.10 comes with a v8 lib thats too old.<br>
<br>
Maybe Frederik can help a bit more. He builds the osmium/osmjs on Geofabrik<br>
machines using 10.04 for me. :-)<br>
<br>
Jochen<br>
<font color="#888888">--<br>
Jochen Topf <a href="mailto:jochen@remote.org">jochen@remote.org</a> <a href="http://www.remote.org/jochen/" target="_blank">http://www.remote.org/jochen/</a> <a href="tel:%2B49-721-388298" value="+49721388298">+49-721-388298</a><br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>martijn van exel<br>geospatial omnivore<br>1109 1st ave #2<br>salt lake city, ut 84103<br>801-550-5815<br><a href="http://oegeo.wordpress.com" target="_blank">http://oegeo.wordpress.com</a><br>