Hi Mike, Latest trunk compiles with boost-1_33_1 again (fixed in r815). You might want to give it a go.
Cheers, Artem 2009/1/19 Michal Migurski <[email protected]>: > I'm running into a pair of problems with mapnik on Debian. > > I have been using the packaged libmapnik, but it lacks the > mapnik.Image.open function that's present in trunk and available on > another system I have access to, with a trunk build done by somebody > else. To get a version with that function, I've been trying to follow > the build instructions here: > > http://wiki.openstreetmap.org/index.php/Mapnik/Installation > > I've done this twice, each time with varying results. The first time, > I got mapnik to build and install all the way through, but when I > attempted to import the module in python, I would get this error: > > undefined symbol: > _ZN5boost6python9converter8registry6insertEPFPvP7_objectEPFvS5_PNS1_30rvalue_from_python_stage1_dataEENS0_9type_infoEPFPK11_typeobjectvE > > According to a fairly old message from mapnik-devel, I should simply > try to rebuild: > > > http://lists.berlios.de/pipermail/mapnik-devel/2006-December/000081.html > > The problem is that the contents of /usr/lib are different from what's > listed in the symlink step on the OSM instructions, so I've been sort > of guessing what to link to what. The first time through, I installed > a bunch of newer libboost packages (1.35, *-dev) but for some reason > those seemed to conflict with libbboost_python, preventing its > installation via apt and even removing it when it was there. > > The second time through, I stuck to the unnumbered ones, e.g. apt-get > install libboost-python-dev which I think are 1.33. > > Now I get a build error and no successful install > > src/datasource_cache.cpp: In static member function 'static void > mapnik::datasource_cache::register_datasources(const std::string&)': > src/datasource_cache.cpp:128: error: invalid use of 'class > boost::filesystem::path' > > I'd rather not be messing with all this; the reason I'm trying to > build it is specifically to be able to populate a mapnik.Image object > with image data prior to the render() step, but the packaged mapnik > seemingly lacks any way to do this. Is there a way other than open() ? > Some hidden fromstring() method, possibility of peeling back the > layers, or way of passing something other than a mapnik.Image to > mapnik.render()? > > What I'm trying to do is a variation of this: > > http://trac.mapnik.org/ticket/184 > > Thanks, > -mike. > > ---------------------------------------------------------------- > michal migurski- [email protected] > 415.558.1610 > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

