|
Boost-Build : |
Subject: [Boost-build] python building errors
From: Sumit Ray (sumitbu.ray_at_[hidden])
Date: 2010-05-11 03:16:39
Hi,
I'm trying to build boost 1.43.0 on Ubuntu Karmic Linux environment on
an x86 architecture machine. The compiler is gcc version 4.4.1. I'm
getting a lot of python related build errors. I have Python 2.6.4
installed on the machine. Here are the first few errors:
gcc.compile.c++
bin.v2/libs/python/build/gcc-4.4.1/release/threading-multi/numeric.o
In file included from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/numeric.hpp:8,
from libs/python/src/numeric.cpp:6:
./boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No
such file or directory
./boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or
higher is required for this version of Boost.Python.
./boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such
file or directory
./boost/python/detail/wrap_python.hpp:203:4: error: #error
"HAVE_LONG_LONG defined but not PY_LONG_LONG or LONG_LONG"
In file included from ./boost/python/object/pointer_holder.hpp:14,
from ./boost/python/to_python_indirect.hpp:10,
from ./boost/python/converter/arg_to_python.hpp:10,
from ./boost/python/call.hpp:15,
from ./boost/python/object_core.hpp:14,
from ./boost/python/object.hpp:9,
from ./boost/python/tuple.hpp:10,
from ./boost/python/numeric.hpp:10,
from libs/python/src/numeric.cpp:6:
./boost/python/instance_holder.hpp:34: error: âÂÂPyObjectâ has not
been declared
Also, is there a search function available with the boost archives?
Any help you can provide will be useful.
Thanks,
Sumit
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk