|
Boost-Build : |
Subject: [Boost-build] ...failed updating 1 target...
From: norman (norman_khine_at_[hidden])
Date: 2009-04-26 15:44:55
Hello,
From the http://www.boost.org/doc/libs/1_38_0/more/getting_started/unix-variants.html#prepare-to-use-a-boost-library-binary section 5, I run:
$ bjam toolset=darwin --verbose-test test
and get this output:
...patience...
...patience...
...found 1364 targets...
...updating 39 targets...
darwin.compile.c++ bin/darwin-4.0.1/debug/extending.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/numeric.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/list.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/long.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/dict.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/tuple.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-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
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/slice.o
common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/from_python.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/registry.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/type_id.o
common.mkdir ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/enum.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-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
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-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
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/inheritance.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/life_support.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/pickle_support.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/errors.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/module.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/builtin_converters.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/arg_to_python_base.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/iterator.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/stl_iterator.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object_protocol.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object_operators.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/wrapper.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/import.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/exec.o
darwin.compile.c++ ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/function_doc_signature.o
darwin.link.dll ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/libboost_python-xgcc40-d-1_38.dylib
ld: Undefined symbols:
_environ
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
"g++" -dynamiclib -Wl,-single_module -install_name "libboost_python-xgcc40-d-1_38.dylib" -L"/Users/khinester/usr/local/python/lib" -L"/Users/khinester/usr/local/python/lib/python2.6/config" -o "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/libboost_python-xgcc40-d-1_38.dylib" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/numeric.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/list.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/long.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/dict.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/tuple.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/str.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/slice.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/from_python.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/registry.o"
"../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/type_id.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/enum.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/class.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/function.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/inheritance.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/life_support.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/pickle_support.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/errors.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/module.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/builtin_converters.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/converter/arg_to_python_base.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/iterator.o"
"../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/stl_iterator.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object_protocol.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object_operators.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/wrapper.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/import.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/exec.o" "../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/object/function_doc_signature.o" -lpython2.6 -headerpad_max_install_names -g
...failed darwin.link.dll ../../../../bin.v2/libs/python/build/darwin-4.0.1/debug/libboost_python-xgcc40-d-1_38.dylib...
...skipped <pbin/darwin-4.0.1/debug>extending.so for lack of <p../../../../bin.v2/libs/python/build/darwin-4.0.1/debug>libboost_python-xgcc40-d-1_38.dylib...
...skipped <pbin/test_ext.test/darwin-4.0.1/debug>test_ext for lack of <pbin/darwin-4.0.1/debug>extending.so...
darwin.compile.c++ bin/darwin-4.0.1/debug/embedding.o
...skipped <pbin/darwin-4.0.1/debug>embedding for lack of <p../../../../bin.v2/libs/python/build/darwin-4.0.1/debug>libboost_python-xgcc40-d-1_38.dylib...
...skipped <pbin/test_embed.test/darwin-4.0.1/debug>test_embed.run for lack of <pbin/darwin-4.0.1/debug>embedding...
...failed updating 1 target...
...skipped 6 targets...
...updated 32 targets...
Then going to:
$ cd ../tutorial
$ $ bjam --user-config=$HOME/user-config.jam
error: Unable to find file or target named
error: '/boost/python/boost_python'
error: referred from project at
error: '.'
Here is my user-config.jam
$ cat $HOME/user-config.jam
# Boost.Build Configuration
# Automatically generated by Boost configure
# Compiler configuration
using darwin ;
# Python configuration
using python : 2.6 : /Users/khinester/usr/local/python/bin/python ;
What am I missing to get my python interpreter to work with boost?
Many thanks
Norman
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