[OSM-dev] Errors compiling mod_tile

Jon Burgess jburgess777 at googlemail.com
Sat Jul 18 19:24:58 BST 2009


On Sat, 2009-07-18 at 20:01 +0200, Joerg Ostertag wrote:
> On Saturday 18 July 2009, Jon Burgess wrote:
> > On Sat, 2009-07-18 at 18:04 +0200, Joerg Ostertag wrote:
> > > Hi,
> > >
> > > Buildcluster results state an error while compiling mod_tile:
> > > 
> > >
> http://gpsdrive.de/build_cluster/mod_tile/debian-squeeze-64/debuild.log.s
> > >html gen_tile.cpp:417: error:
> > >                   'class mapnik::Map' has no member named
> > > 'set_buffer_size'
> > >
> > > Any hints what's missing?
> >
> > What version of Mapnik are you compiling against?
> >
> > The set_buffer_size() method is new in mapnik-0.6.0.
> >
> > The older mod_tile code (pre r13276) had an alternate method for
> > implementing this by rendering larger tiles and then chopping off
> the
> > border. The current code relies on the 0.6.0 feature.
> 
> hi Jon,
> 
> it looks like I cannot build mod_tile on any of the current debian
> based 
> distributions against the standard stable or testing packages...

It looks like libmapnik-dev-0.6 should be available for squeeze:
http://packages.debian.org/search?keywords=libmapnik-dev


> Is there a repository to get the debian packages for all these
> platforms, so I 
> could compile against them?
> Or is there alternativeley a svn-url i can Checkout and afterwards do
> a 
> debuild binary of the needed mapnik-libs to compile them byself?


I do not know of any particular resources for compiling Mapnik on
Debian, except the usual wiki & trac web pages.

I will take a look getting the latest mod_tile code compile against
mapnik-0.5.1. If the set_buffer_size is the only issue then that is not
too hard to fix with some conditional compilation. 

	Jon








More information about the dev mailing list