[ gpsdrive ] Dos not compile, mapnik files missing

Jan-Benedict Glaw jbglaw at lug-owl.de
Mon Jul 2 09:37:39 AKDT 2007


On Mon, 2007-07-02 19:32:25 +0200, Oddgeir Kvien <oddgeir at oddgeirkvien.com> wrote:
> On Mon, 2007-07-02 at 18:33 +0200, Andreas Schneider wrote:
> > Oddgeir Kvien wrote:
> > > I downloaded the svn a few minutes ago, 
> > > and also installed mapnik as described on mapnik's homepage. 
> > 
> > Use CMake.
> > 
> > cd /path/to/gpsdrive/build
> > ./build_make --prefix=/usr --build Release
> > make install
> 
> Hmmm:
> 
> oddgeir at papsi:~/filer/gpsdrive/gpsdrive/build$ ./build_make.sh started
> build at Mon Jul  2 19:31:15 CEST 2007.
> 
> -- 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 GDAL: /usr/lib/libgdal1.3.2.so
> -- Found PNG: /usr/lib/libpng.so
> -- Found XML2: /usr/lib/libxml2.so
> -- Found
> Boost: /usr/lib/libboost_date_time.so;/usr/lib/libboost_filesystem.so;/usr/lib/libboost_iostreams.so;/usr/lib/libboost_prg_exec_monitor.so;/usr/lib/libboost_program_options.so;/usr/lib/libboost_python.so;/usr/lib/libboost_regex.so;/usr/lib/libboost_serialization.a;/usr/lib/libboost_signals.so;/usr/lib/libboost_test_exec_monitor.so;/usr/lib/libboost_thread.so;/usr/lib/libboost_unit_test_framework.so;/usr/lib/libboost_wserialization.a
> -- Found Qt-Version 4.2.3
> -- Found Freetype2: /usr/lib/libfreetype.so
> -- Found Mapnik: /lib/libmapnik.so
> mapnik datadir: /usr/share/gpsdrive
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> MAPNIK_INCLUDE_DIR
> 
> -- Configuring done
> Generate
> graphviz: /home/oddgeir/filer/gpsdrive/gpsdrive/build/gpsdrive.dot

So... Did you read the error messages? "Please set the following
variables: MAPNIK_INCLUDE_DIR"

It fails to find the include files for mapnik. Check that they were
installed, run again and if it still fails to find the files, set the
MAPNIK_INCLUDE_DIR to the directory that contains the mapnik include
files.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of: They that give up essential liberty to obtain temporary safety,
the second  : deserve neither liberty nor safety.  (Ben Franklin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20070702/3cc18789/attachment.bin 


More information about the GPSdrive mailing list