[DebianGIS-dev] Mapnik viewer for the Debian GIS Live CD?

Petter Reinholdtsen pere at hungry.com
Wed Aug 8 08:56:00 UTC 2007


[Artem Pavlenko]
> Did you modify viewer.pro to have something like
> 
> INCLUDEPATH += /usr/include/freetype2

Right.  That got me a bit further.  I ran into another build problem,
bug got past that by installing libboost-serialization-dev.  Last, I
got this build error:

  g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_SHARED -DQT_GUI_LIB
    -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++
    -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore
    -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui
    --I/usr/include/qt4 -I/usr/local/include
    --I/opt/boost_1_35/include/boost-1_35 -I/usr/include/freetype2
    --I. -Idebug -I. -o debug/styles_model.o styles_model.cpp
  styles_model.cpp: In constructor
    'StyleModel::StyleModel(boost::shared_ptr<mapnik::Map>, QObject*)':
  styles_model.cpp:187: error: 'class mapnik::Map' has no member named 'styles'
  make[1]: *** [debug/styles_model.o] Error 1
  make[1]: Leaving directory `/home/pere/src/openstreetmapsvn/mapnik-viewer'
  make: *** [debug] Error 2

Any known problem?

>> To pack this program for Debian, it would be very useful to know what
>> the tarball will be called, as the debian source package should
>> inherit the name.  May I suggest 'mapnik-viewer'?
> 
> Sounds good to me.

Great.  It make it easier to document the package if the binary
program have the same name as the source package.

>> This is a postgis map drawing application.
> 
> 	Well, it can talk to any data sources supported by Mapnik e.g shape  
> files, postgis, raster (tiff) , gdal raster.

OK.  My draft README file was just ment as a starting point for a file
to put in svn and in the source tarball.

Happy hacking,
-- 
Petter Reinholdtsen



More information about the Pkg-grass-devel mailing list