<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.hmmessage P
{margin:0px;padding:0px;}
body.hmmessage
{font-size:10pt;font-family:Verdana;}

</style>




<style>
.hmmessage P
{margin:0px;padding:0px;}
body.hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Hi,<br><br>I have been struggling for a while to install Mapnik. I am hoping someone can point me in the right direction for why I am getting the errors I am getting. Or, can someone perhaps point me to a different way to install Mapnik, if possible (an RPM maybe?). If I am posting in the incorrect place, can you let me know a better place.<br><br>My environment is RedHat Linux ES 5, with boost 1.42 installed from source, python 2.4, and mapnik 0.7.0. <br><br>I configure Mapnik with this command:<br><br>python scons/scons.py configure INPUT_PLUGINS=all OPTIMIZATION=3 SYSTEM_FONTS=/usr/share/fonts/truetype/ttf-dejavu BINDINGS=python<br><br>Things look good when I configure, but when I then run this command:  python scons/scons.py - I get these errors below (please let me know if you need more of the output):<br><br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:49:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:52:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:55:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:58:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:61:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:64:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:67:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&, const A11&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int, A11 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:70:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&, const A11&, const A12&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int, A11 = long int, A12 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:73:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&, const A11&, const A12&, const A13&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int, A11 = long int, A12 = long int, A13 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:76:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/detail/make_tuple.hpp: In function ‘boost::python::tuple boost::python::make_tuple(const A0&, const A1&, const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const A8&, const A9&, const A10&, const A11&, const A12&, const A13&, const A14&) [with A0 = long int, A1 = long int, A2 = long int, A3 = long int, A4 = long int, A5 = long int, A6 = long int, A7 = long int, A8 = long int, A9 = long int, A10 = long int, A11 = long int, A12 = long int, A13 = long int, A14 = long int]’:<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:79:   instantiated from here<br>/usr/local/include/boost/python/detail/make_tuple.hpp:25: error: ‘PyTuple_SET_ITEM’ was not declared in this scope<br>/usr/local/include/boost/python/object_core.hpp: In constructor ‘boost::python::api::object::object(const T&) [with T = boost::python::tuple]’:<br>/usr/local/include/boost/python/numeric.hpp:121:   instantiated from ‘void boost::python::numeric::array::resize(const Sequence&) [with Sequence = boost::python::tuple]’<br>/usr/local/include/boost/preprocessor/iteration/detail/local.hpp:37:   instantiated from here<br>/usr/local/include/boost/python/object_core.hpp:330: error: ‘object_base_initializer’ was not declared in this scope<br>scons: *** [bindings/python/mapnik_shield_symbolizer.os] Error 1<br>scons: building terminated because of errors.<br><br><br>Thanks in advance for any help you may be able to provide.<br><br>Scott<br><br><br><br><div>
<div>********************************************* </div>Scott Pezanowski 
<div></div>
<div></div>
<div></div>email: scottpez@hotmail.com  
<div></div>*********************************************</div><br><br>                                      </body>
</html>