[ gpsdrive ] [gpsdrive] is there a way to build gpsdrive and/with mapnik on ubuntu? and segmentation fault on x64?
Markus Doits
doits at junetz.de
Tue Jan 15 23:26:51 AKST 2008
haylocki wrote:
>
> I also installed the svn for mapnik, as I could not get version 0.4.0 to
> work at all with GPSdrive.
>
> I think I installed mapnik thus :
>
> cd ~
> svn co svn://svn.mapnik.org/trunk mapnik
> cd mapnik
> sudo python scons/scons.py install PYTHON=/usr/bin/python
> PGSQL_INCLUDES=/usr/include/postgresql PGSQL_LIBS=/usr/lib/postgresql
> BOOST_INCLUDES=/usr/include/boost BOOST_LIBS=/usr/lib
installing mapnik that way works, but when compiling gpsdrive svn i get:
09:20:03 ~/svn/gpsdrive-svn/build # cmake ..
-- Found GTK2:
/usr/lib/libgtk-x11-2.0.so;/usr/lib/libgdk-x11-2.0.so;/usr/lib/libglib-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so
-- Found PNG: /usr/lib/libpng.so
-- Found XML2: /usr/lib/libxml2.so
-- Found Freetype2: /usr/lib/libfreetype.so
-- Found Boost:
/usr/lib/libboost_date_time.so;/usr/lib/libboost_filesystem.so;/usr/lib/libboost_iostreams.so;/usr/lib/libboost_program_options.so;/usr/lib/libboost_python.so;/usr/lib/libboost_regex.so;/usr/lib/libboost_serialization.so;/usr/lib/libboost_thread.so;/usr/lib/libboost_wserialization.so
-- Found Mapnik: /lib/libmapnik.so
mapnik datadir: /usr/local/share/gpsdrive/mapnik
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/coolphoenix/svn/gpsdrive-svn/build
09:20:11 ~/svn/gpsdrive-svn/build # make
[ 1%] Built target friendsd
Scanning dependencies of target gpsdrive
[ 3%] Building C object src/CMakeFiles/gpsdrive.dir/poi.o
/home/coolphoenix/svn/gpsdrive-svn/src/poi.c: In function
'create_poitype_tree':
/home/coolphoenix/svn/gpsdrive-svn/src/poi.c:679: warning: cast to
pointer from integer of different size
[ 5%] Building CXX object src/CMakeFiles/gpsdrive.dir/mapnik.o
In file included from /home/coolphoenix/svn/gpsdrive-svn/src/mapnik.cpp:19:
/usr/local/include/mapnik/agg_renderer.hpp:81: error:
'building_symbolizer' has not been declared
/usr/local/include/mapnik/agg_renderer.hpp:84: error:
'markers_symbolizer' has not been declared
/usr/local/include/mapnik/agg_renderer.hpp:96: error:
'label_collision_detector4' does not name a type
/usr/local/include/mapnik/agg_renderer.hpp: In instantiation of
'mapnik::agg_renderer<mapnik::Image32>':
/home/coolphoenix/svn/gpsdrive-svn/src/mapnik.cpp:334: instantiated
from here
/usr/local/include/mapnik/agg_renderer.hpp:86: error: 'void
mapnik::agg_renderer<T>::process(const int&, const mapnik::Feature&,
const mapnik::proj_transform&) [with T = mapnik::Image32]' cannot be
overloaded
/usr/local/include/mapnik/agg_renderer.hpp:83: error: with 'void
mapnik::agg_renderer<T>::process(const int&, const mapnik::Feature&,
const mapnik::proj_transform&) [with T = mapnik::Image32]'
/usr/local/include/mapnik/font_engine_freetype.hpp: In destructor
'mapnik::agg_renderer<mapnik::Image32>::~agg_renderer()':
/usr/local/include/mapnik/font_engine_freetype.hpp:122: error: 'virtual
mapnik::freetype_engine::~freetype_engine()' is private
/usr/local/include/mapnik/agg_renderer.hpp:50: error: within this context
/home/coolphoenix/svn/gpsdrive-svn/src/mapnik.cpp: In function 'void
mapnik::render_mapnik()':
/home/coolphoenix/svn/gpsdrive-svn/src/mapnik.cpp:334: note: synthesized
method 'mapnik::agg_renderer<mapnik::Image32>::~agg_renderer()' first
required here
make[2]: *** [src/CMakeFiles/gpsdrive.dir/mapnik.o] Error 1
make[1]: *** [src/CMakeFiles/gpsdrive.dir/all] Error 2
make: *** [all] Error 2
only with mapnik 0.4.0 it builts but then segfaults on running without
any status-report... (this happens on my desktop pc x86_64)
>
> If You do try to get gpsdrive and mapnik working together, could you please
> document everything you had to do. As I would also like a nice clear guide.
> I have had so many problems trying this that I no longer know which things I
> did that worked / were required, and those which made things worse / weren't
> needed.
>
i'm just formatting my laptop and reinstalling ubunut hardy, there i'll
have a clean install and try to get those things to work. if i find a
solution i'll create a tutorial.
i'll report back once i'm finished...
regards
More information about the GPSdrive
mailing list