[ gpsdrive ] 2.10pre4 fails to compile, Mapnik

Jan-Erik Skata jeskata at gmail.com
Wed May 28 09:22:59 AKDT 2008


I have installed Mapnik 0.5.1 but still GPSDrive fails to compile:
>From configure:
checking for Mapnik lib support... yes
libmapnik_linkable: yes
checking for Mapnik inclusion... yes

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\"
-DDATADIR=\"/usr/local/share\" -DLIBDIR=\"/usr/local/lib\"
-DFRIENDSSERVERVERSION=\"2\"   -DMAPNIK -I/usr/include/ -I/usr/local/include
-I/opt/boost_1_35/include/boost-1_35 -I/usr/local/include/freetype2
-I/usr/include/freetype2 -I. -L/usr/local/lib -I. -I. -I..     -g -O2  -MT
mapnik.o -MD -MP -MF ".deps/mapnik.Tpo" -c -o mapnik.o mapnik.cpp; \
        then mv -f ".deps/mapnik.Tpo" ".deps/mapnik.Po"; else rm -f
".deps/mapnik.Tpo"; exit 1; fi
mapnik.cpp: In function 'void mapnik::init_mapnik(char*)':
mapnik.cpp:121: error: 'instance' is not a member of
'mapnik::freetype_engine'
make[3]: *** [mapnik.o] Error 1

It gives this error with --disable-mapnik (made clean between):
>From configure:
checking for Mapnik lib support... yes
libmapnik_linkable: yes
checking for Mapnik inclusion... no
DISABLED Mapnik support

gcc -g -O2 -o gpsdrive gpsdrive.o splash.o gpsdrive_config.o navigation.o
speech_out.o friends.o battery.o track.o poi.o wlan.o waypoint.o draw_grid.o
settings.o gpssql.o gpskismet.o icons.o gui.o poi_gui.o main_gui.o
navigation_gui.o settings_gui.o LatLong-UTMconversion.o gpsnasamap.o
gpsmisc.o geometry.o map_handler.o import_map.o routes.o download_map.o
map_projection.o speech_strings.o gps_handler.o nmea_handler.o unit_test.o
mapnik.o  -lcrypt /usr/lib/libfontconfig.so -pthread /usr/lib/
libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so/usr/lib/
libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so
/usr/lib/libpango-1.0.so/usr/lib/libcairo.so /usr/lib/
libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so/usr/lib/
libglib-2.0.so /usr/lib/libart_lgpl_2.so /usr/lib/libxml2.so -L/usr/lib
/usr/lib/libpcre.so /usr/lib/libfreetype.so -lpthread -lrt -ldl -lbz2 -lz
map_handler.o: In function `loadmap':
/home/jskata/gpsdrive-2.10pre4/src/map_handler.c:664: undefined reference to
`get_mapnik_imagedata'
collect2: ld returned 1 exit status
make[3]: *** [gpsdrive] Error 1

This is on a Linux system, Gentoo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20080528/1c18781b/attachment.html 


More information about the GPSdrive mailing list