Hi Michaela,

The changes in mapnik trunk [1] may not be compatible with boost  
1.33.1. So, if possible I'd recommend using boost 1.35 or > for  
compatibility with trunk.

If that fixes the problem, it would be great if you could file a trac  
ticket on this issue [2], so we can track the problem.

Dane

[1] http://trac.mapnik.org/changeset/748/trunk/src/datasource_cache.cpp
[2] http://trac.mapnik.org/register

On Dec 18, 2008, at 7:12 AM, Michaela Kinberger wrote:

> Hi,
>
> I'm trying to install mapnik-5.0.1 from trunk.
> Im using boost version 1.33.1 on an opensuse 10.2 server
>
> I get an error using scons:
> $ python scons/scons.py BOOST_INCLUDES=/usr/include/boost BOOST_LIBS=/
> usr/lib64 XMLPARSER=libxml2 DEBUG=y
>
> ..........
> g++ -o src/datasource_cache.os -c -DHAVE_CAIRO -
> DBOOST_PROPERTY_TREE_XML_PARSER_TINYXML -DTIXML_USE_STL -DHAVE_PYCAIRO
> -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -
> DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -
> Wno-inline -DNDEBUG -fPIC -Iagg/include -Itinyxml -Iinclude -I. -I/ 
> usr/
> include/boost -I/usr/include -I/usr/local/include -I/usr/include/
> freetype2 -I/usr/local/include/cairo -I/opt/gnome/include/ 
> cairomm-1.0 -
> I/usr/include/pycairo src/datasource_cache.cpp
> 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’
> scons: *** [src/datasource_cache.os] Error 1
> scons: building terminated because of errors.
>
> Wher should I look for the mistake? (I learned to look for not
> existing libraries, but not for this kind of error.
>
> Thanks,
> Michaela
> _______________________________________________
> 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

Reply via email to