Dear Users/Developers,
I followed the instructions on http://www.boost.org/doc/libs/1_38_0/libs/python/doc/building.html
to install and build the boost python library.
When running the command bjam toolset=gcc --verbose-test test from
the /usr/local/boost_1_38_0/libs/python/example/quickstart directory I
get the following output (a bit long I know :)):
...patience...
...patience...
...found 1356 targets...
...updating 54 targets...
common.mkdir bin
common.mkdir bin/test_ext.test
common.mkdir bin/test_ext.test/gcc-4.0.1
common.mkdir bin/test_ext.test/gcc-4.0.1/debug
common.mkdir bin/gcc-4.0.1
common.mkdir bin/gcc-4.0.1/debug
gcc.compile.c++ bin/gcc-4.0.1/debug/extending.o
common.mkdir ../../../../bin.v2
common.mkdir ../../../../bin.v2/libs
common.mkdir ../../../../bin.v2/libs/python
common.mkdir ../../../../bin.v2/libs/python/build
common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.0.1
common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
numeric.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
list.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
long.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
dict.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
tuple.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
str.o
../../../../libs/python/src/str.cpp: In function
‘boost::python::ssize_t
boost::python::detail::<unnamed>::str_size_as_py_ssize_t(size_t)’:
../../../../libs/python/src/str.cpp:29: warning: comparison between
signed and unsigned integer expressions
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
slice.o
common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/from_python.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/registry.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/type_id.o
common.mkdir ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/object
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/enum.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/class.o
../../../../libs/python/src/object/class.cpp: In function
‘boost::python::api::object
boost::python::objects::<unnamed>::new_class(const char*, size_t,
const boost::python::type_info*, const char*)’:
../../../../libs/python/src/object/class.cpp:510: warning: comparison
between signed and unsigned integer expressions
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/function.o
../../../../libs/python/src/object/function.cpp: In member function
‘PyObject* boost::python::objects::function::call(PyObject*,
PyObject*) const’:
../../../../libs/python/src/object/function.cpp:169: warning:
comparison between signed and unsigned integer expressions
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/inheritance.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/life_support.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/pickle_support.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
errors.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
module.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/builtin_converters.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/arg_to_python_base.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/iterator.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/stl_iterator.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object_protocol.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object_operators.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
wrapper.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
import.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
exec.o
gcc.compile.c++ ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object/function_doc_signature.o
gcc.link.dll ../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
libboost_python-gcc40-d-1_38.dylib
ld: unknown option: -R
collect2: ld returned 1 exit status
"g++" -L"/Applications/scisoft/i386/Packages/Python-2.5.2/
Python.framework/Versions/2.5/lib" -L"/Applications/scisoft/i386/
Packages/Python-2.5.2/Python.framework/Versions/2.5/lib/python2.5/
config" -Wl,-R -Wl,"/Applications/scisoft/i386/Packages/Python-2.5.2/
Python.framework/Versions/2.5/lib" -Wl,-R -Wl,"/Applications/scisoft/
i386/Packages/Python-2.5.2/Python.framework/Versions/2.5/lib/python2.5/
config" -o "../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
libboost_python-gcc40-d-1_38.dylib" -Wl,-h -Wl,libboost_python-gcc40-
d-1_38.dylib -shared -Wl,--start-group "../../../../bin.v2/libs/python/
build/gcc-4.0.1/debug/numeric.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/list.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/long.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/dict.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/tuple.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/str.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/
debug/slice.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/from_python.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/converter/registry.o" "../../../../bin.v2/libs/python/
build/gcc-4.0.1/debug/converter/type_id.o" "../../../../bin.v2/libs/
python/build/gcc-4.0.1/debug/object/enum.o" "../../../../bin.v2/libs/
python/build/gcc-4.0.1/debug/object/class.o" "../../../../bin.v2/libs/
python/build/gcc-4.0.1/debug/object/function.o" "../../../../bin.v2/
libs/python/build/gcc-4.0.1/debug/object/inheritance.o" "../../../../
bin.v2/libs/python/build/gcc-4.0.1/debug/object/life_support.o"
"../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/object/
pickle_support.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/
debug/errors.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
module.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
converter/builtin_converters.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/converter/arg_to_python_base.o" "../../../../bin.v2/
libs/python/build/gcc-4.0.1/debug/object/iterator.o" "../../../../
bin.v2/libs/python/build/gcc-4.0.1/debug/object/stl_iterator.o"
"../../../../bin.v2/libs/python/build/gcc-4.0.1/debug/
object_protocol.o" "../../../../bin.v2/libs/python/build/gcc-4.0.1/
debug/object_operators.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/wrapper.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/import.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/exec.o" "../../../../bin.v2/libs/python/build/
gcc-4.0.1/debug/object/function_doc_signature.o" -Wl,-Bstatic -Wl,-
Bdynamic -lpython2.5 -Wl,--end-group -g
...failed gcc.link.dll ../../../../bin.v2/libs/python/build/gcc-4.0.1/
debug/libboost_python-gcc40-d-1_38.dylib...
...skipped