[OSM-talk] Using osm2pgsql to keep up with dailies?
Michal Migurski
mike at stamen.com
Sun Aug 3 18:55:25 BST 2008
>> Interesting, thanks everyone.
>>
>> I checked the version, and it appears to be 0.52-20080413 $Rev:
>> 7141 $.
>>
>> Any idea if the version in Lenny will soon be upgraded to the one
>> that
>> supports --slim, or would it be better to compile directly out of
>> SVN?
>
> Lenny is frozen, and thus, it will most likely be released with this
> version of osm2pgsql.
> Your best bet is to compile from SVN.
So, when I attempt to do that, I get a failure here:
...
g++ -g -O2 -Wall -DGEOS_INLINE -g -O2 -Wall -Wextra -I/usr/include/
libxml2 -I/usr/include -I/usr/include/postgresql -DVERSION=
\"0.55-20080803\" -DHAVE_PTHREAD -I/usr/include -c -o
build_geometry.o build_geometry.cpp
build_geometry.cpp: In function 'char* get_wkt(size_t)':
build_geometry.cpp:155: error: 'malloc' is not a member of 'std'
make: *** [build_geometry.o] Error 1
This is after installing the dependencies mentioned on the OSM wiki:
build-essential libxml2-dev libgeos-dev libpq-dev libbz2-dev. Does
this error look familiar to anyone?
-mike.
----------------------------------------------------------------
michal migurski- mike at stamen.com
415.558.1610
More information about the talk
mailing list