Ross Scanlon wrote:
> Maybe I need to look at writing up a howto on how to
> install without mapnik and just using raster maps.
there are just 1 or 2 files to make minor edits in:
edit DefineOptions.cmake and turn off WITH_MAPNIK, WITH_GDA3, WITH_GDAL,
WITH_SPEECH, WITH_DBUS. Note some of the on/off switches there are unused
as yet, just placeholders for future work.
If just using cmake manually that's all there is to edit.
If you are building debian/ubuntu .debs and install from them, in the
debian dir in the source code edit the "rules" file and make sure the
cmake command has -DWITH_MAPNIK:BOOL=OFF etc. I am still not sure why
we need that in the rules file when we have it in DefineOptions.cmake
already, better to just control it in one spot.
Also if building .debs, have a look at the debian/debian-etch-32.patch
file for some requirement packages you can remove. I think the ubuntu
patch needs updating but it should be along similar lines to the Etch
patch.
apply the patch with:
$ cd debian/
$ patch -p0 < debian-etch-32.patch
then
$ cd ..
$ debuild binary
if you want the maps package: "cd data/maps/ && debuild binary"
It should tell you about any missing packages needed for building.
There should be a libgeos-dev package available.
It shouldn't be difficult to build the basic version of the program,
if it is we are doing something wrong. FWIW, I build without any of the
postgres or mapnik stuff (just the old basic image tiles) because for my
use I don't need those. (and because I use Etch I can't)
Hamish
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive