[OSM-talk] problem compilint mod_tile under debian etch
Kenneth Gonsalves
lawgon at au-kbc.org
Tue Mar 3 08:08:06 GMT 2009
On Tuesday 03 March 2009 12:48:43 you wrote:
> > /usr/share/apr-1.0/build/libtool: line 1222: i486-linux-gnu-gcc: command
> > not found
> > make: *** [mod_tile.slo] Error 1
>
> It looks like you don't have gcc installed. You should start with running:
> $ sudo aptitude build-essential
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)
--
regards
Kenneth Gonsalves
Associate
NRC-FOSS
http://nrcfosshelpline.in/web/
More information about the talk
mailing list