[OSM-dev] error when compiling osm2pgsql
Peter
peter at haas-en-berg.nl
Tue Dec 21 00:35:22 GMT 2010
I now have installed the following packages:
libprotobuf-c0 0.14-1
libprotobuf-c0-dev 0.14-1
protobuf-c-compiler 0.14-1
libprotobuf6 2.3.0-4ubuntu2
libprotoc6 2.3.0-4ubuntu2
And this is what happens:
$ osm2pgsql -d osm -i osm -n -r pbf andorra.osm.pbf
osm2pgsql SVN version 0.70.5
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE: table "planet_osm_line" does not exist, skipping
NOTICE: table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE: table "planet_osm_polygon" does not exist, skipping
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE: table "planet_osm_roads" does not exist, skipping
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping
Mid: Ram, scale=100
!! You are running this on 32bit system, so at most
!! 3GB of RAM can be used. If you encounter unexpected
!! exceptions during import, you should try running in slim
!! mode using parameter -s.
Reading in file: andorra.osm.pbf
error parsing member id of DenseNodes
error parsing member dense of PrimitiveGroup
error parsing member stringtable of PrimitiveBlock
Error unpacking PrimitiveBlock message
Error occurred, cleaning up
The same thing happens when I try an pbf file from a different source.
So what's happening?
Has anyone seen this before?
Can I fix this?
Is this my fault?
Should I file a bug somewhere?
Peter
2010/12/20 Peter <peter at haas-en-berg.nl>:
> Oops, I didn't send this to dev...
>
> ---------- Forwarded message ----------
> From: Peter <peter at haas-en-berg.nl>
> Date: 2010/12/20
> Subject: Re: [OSM-dev] error when compiling osm2pgsql
> To: David Paleino <dapal at debian.org>
>
>
> Okay, so I downloaded the .debs for natty, installed them,
> ./configured and maked it.
> Then I ran it.
>
> Reading in file: andorra.osm.pbf
> error parsing member id of DenseNodes
> error parsing member dense of PrimitiveGroup
> error parsing member stringtable of PrimitiveBlock
> Error unpacking PrimitiveBlock message
> Error occurred, cleaning up
>
> Same thng happenas with another pbf file from geofabrik.
> So what is wrong?
>
> 2010/12/20 David Paleino <dapal at debian.org>:
>> On Mon, 20 Dec 2010 20:06:48 +0100, Peter wrote:
>>
>>> I have all of the below packages installed:
>>> libprotobuf-c0 libprotobuf-c0-dev libprotobuf-dev libprotobuf5
>>> protobuf-c-compiler protobuf-compiler
>>> Still doesn't work...
>>
>> Your version of Ubuntu doesn't have the required version of libprotobuf-c0-dev.
>> You need 0.14, which is available in Natty (the upcoming 11.04), or Debian sid.
>>
>> --
>> . ''`. Debian developer | http://wiki.debian.org/DavidPaleino
>> : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
>> `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal
>> `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
>>
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>>
>
More information about the dev
mailing list