Hi All
I searched briefly through the archives and tickets, but couldn't find
a clear solution. I'm installing mapnik for Mac. I've installed the
dependencies, but when I try to install the mapnik port, I get a
compilation error. I've attached the output of that. It seems the
problem is a dependency on deprecated boost headers
http://bugs.gentoo.org/show_bug.cgi?id=301673
http://bugs.gentoo.org/308487
Am I on the right track? And if so, what's the recommended solution to
get around this? use an older version of boost? wait until mapnik
patches a workaround?
Also, I tried to look at the boost compatibility page linked from
http://trac.mapnik.org/wiki/InstallationTroubleshooting
but the page doesn't exist :(
Thanks in advance!
Soyoung
---> Computing dependencies for py26-mapnik
---> Building py26-mapnik
scons: Reading SConscript files ...
94m
Welcome to Mapnik...
[0m
94mUsing previous successful configuration...[0m
[94mRe-configure by running "python scons/scons.py configure".[0m
scons: done reading SConscript files.
scons: Building targets ...
g++ -o bindings/python/mapnik_datasource.os -c -DHAVE_LIBXML2 -ansi -Wall
-ftemplate-depth-100 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2
-finline-functions -Wno-inline -DNDEBUG -fPIC -DNone
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-Iagg/include -Iinclude -I. -I/opt/local/include -I/opt/local/include/freetype2
-I/opt/local/include/libxml2 bindings/python/mapnik_datasource.cpp
In file included from include/mapnik/datasource.hpp:31,
from bindings/python/mapnik_datasource.cpp:30:
include/mapnik/feature.hpp:32:34: error: boost/property_map.hpp: No such file
or directory
In file included from include/mapnik/datasource.hpp:31,
from bindings/python/mapnik_datasource.cpp:30:
include/mapnik/feature.hpp:40: error: expected initializer before '<' token
include/mapnik/feature.hpp:45: error: expected class-name before ',' token
include/mapnik/feature.hpp: In constructor 'mapnik::feature<T1,
T2>::feature(int)':
include/mapnik/feature.hpp:62: error: class 'mapnik::feature<T1, T2>' does not
have any field named 'properties'
In file included from bindings/python/mapnik_datasource.cpp:33:
include/mapnik/memory_datasource.hpp: In member function 'void
mapnik::point_datasource::add_point(double, double, const char*, const char*)':
include/mapnik/memory_datasource.hpp:64: error: no match for 'operator[]' in
'feature. boost::shared_ptr< <template-parameter-1-1> >::operator* [with T =
mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2> >,
boost::shared_ptr<mapnik::raster> >]()[key]'
scons: *** [bindings/python/mapnik_datasource.os] Error 1
scons: building terminated because of errors.
Warning: the following items did not execute (for py26-mapnik):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
To report a bug, see <http://guide.macports.org/#project.tickets>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users