I am trying to install boost.python on Mac Lion OS. I used python 2.6 installed by default and
The gcc version is "gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)".
bjam --build-dir=/Users/lkong/workspace/boost_python toolset=gcc --with-python stage
Component configuration:
- chrono : not building
- date_time : not building
- exception : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- math : not building
- mpi : not building
- program_options : not building
- python : building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- system : not building
- test : not building
- thread : not building
- wave : not building
...patience...
...patience...
...found 1540 targets...
...updating 77 targets...
common.mkdir stage
common.mkdir stage/lib
common.mkdir /Users/lkong/workspace/boost_python/boost
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/numeric.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/list.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/long.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/dict.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/str.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/slice.o
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/from_python.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/registry.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/type_id.o
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/enum.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/class.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/function.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/inheritance.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/life_support.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/pickle_support.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/module.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/builtin_converters.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/arg_to_python_base.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/iterator.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/stl_iterator.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object_protocol.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object_operators.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/exec.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/function_doc_signature.o
gcc.link.dll /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/libboost_python.dylib
ld: unknown option: -R
collect2: ld returned 1 exit status
"g++" -L"/System/Library/Frameworks/Python.framework/Versions/2.6/lib" -L"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config" -Wl,-R -Wl,"/System/Library/Frameworks/Python.framework/Versions/2.6/lib" -Wl,-R -Wl,"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config" -o "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/libboost_python.dylib" -Wl,-h -Wl,libboost_python.dylib -shared -Wl,--start-group "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/numeric.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/list.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/long.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/dict.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/str.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/slice.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/from_python.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/registry.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/type_id.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/enum.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/class.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/function.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/inheritance.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/life_support.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/pickle_support.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/module.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/builtin_converters.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/converter/arg_to_python_base.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/iterator.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/stl_iterator.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object_protocol.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object_operators.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/exec.o" "/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/function_doc_signature.o" -Wl,-Bstatic -Wl,-Bdynamic -lpython2.6 -Wl,--end-group
...failed gcc.link.dll /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/libboost_python.dylib...
...skipped <pstage/lib>libboost_python.dylib for lack of <p/Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi>libboost_python.dylib...
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/numeric.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/list.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/long.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/dict.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/tuple.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/slice.o
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter/from_python.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter/registry.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter/type_id.o
common.mkdir /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/enum.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/class.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/function.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/inheritance.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/pickle_support.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/errors.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/module.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter/builtin_converters.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/converter/arg_to_python_base.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/iterator.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/stl_iterator.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object_protocol.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object_operators.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/wrapper.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/exec.o
gcc.compile.c++ /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/function_doc_signature.o
gcc.archive /Users/lkong/workspace/boost_python/boost/bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/libboost_python.a
common.copy stage/lib/libboost_python.a
...failed updating 1 target...
...skipped 1 target...
...updated 75 targets...
Thanks a lot.