[OSM-talk] problem compilint mod_tile under debian etch
Jon Burgess
jburgess777 at googlemail.com
Tue Mar 3 08:37:11 GMT 2009
On Tue, 2009-03-03 at 13:38 +0530, Kenneth Gonsalves wrote:
> that solved that problem - now one more:
>
> /usr/share/apr-1.0/build/libtool --silent --mode=link
> i486-linux-gnu-gcc -I.
> -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -
> I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql
> -
> I/usr/include/xmltok -pthread -o mod_tile.la -rpath
> /usr/lib/apache2/modules -module -avoid-version mod_tile.lo
> dir_utils.lo
> store.lo
> g++ -o renderd store.c daemon.c gen_tile.cpp dir_utils.c protocol.h
> render_config.h dir_utils.h store.h -g -lmapnik -L/usr/lib/mapnik/0.5/
> -g -O2 -
> Wall -I/usr/include/mapnik
> -I/usr/include/freetype2
> gen_tile.cpp: In function ‘protoCmd render(mapnik::Map&, char*,
> mapnik::projection&, int, int, int, unsigned int, metaTile&)’:
> gen_tile.cpp:245: error: ‘class mapnik::Map’ has no member named
> ‘set_buffer_size’
> gen_tile.cpp:257: error: ‘save_to_string’ was not declared in this
> scope
> make: *** [renderd] Error 1
>
> as far as I know, all the dependencies are done (I installed mapnik
> through
> apt-get install python-mapnik)
The current mod_tile code requires you to use a newer version of Mapnik
than is available in the debian packages. I'm afraid you will have to
compile an SVN version of Mapnik too.
Jon
More information about the talk
mailing list