Boost logo

Boost-Build :

Subject: [Boost-build] Unable to find file or target named 'boost/python//boost_python'
From: Yifei Li (yifli82_at_[hidden])
Date: 2011-09-21 11:54:07


Hi all,

I tried to compile a boost-python example but failed. Can anyone help me
out? Thanks

notice: found boost-build.jam at /private/tmp/quickstart/boost-build.jam
notice: loading Boost.Build from /opt/local/share/doc/boost/tools/build/v2
notice: Searching /etc /Users/yifli
/opt/local/share/doc/boost/tools/build/v2 /usr/share/boost-build
/opt/local/share/doc/boost/tools/build/v2/kernel
/opt/local/share/doc/boost/tools/build/v2/util
/opt/local/share/doc/boost/tools/build/v2/build
/opt/local/share/doc/boost/tools/build/v2/tools
/opt/local/share/doc/boost/tools/build/v2/contrib
/opt/local/share/doc/boost/tools/build/v2/. for site-config configuration
file site-config.jam .
notice: Loading site-config configuration file site-config.jam from
/opt/local/share/doc/boost/tools/build/v2/site-config.jam .
notice: Searching /Users/yifli /opt/local/share/doc/boost/tools/build/v2
/usr/share/boost-build /opt/local/share/doc/boost/tools/build/v2/kernel
/opt/local/share/doc/boost/tools/build/v2/util
/opt/local/share/doc/boost/tools/build/v2/build
/opt/local/share/doc/boost/tools/build/v2/tools
/opt/local/share/doc/boost/tools/build/v2/contrib
/opt/local/share/doc/boost/tools/build/v2/. for user-config configuration
file user-config.jam .
notice: Loading user-config configuration file user-config.jam from
/opt/local/share/doc/boost/tools/build/v2/user-config.jam .
notice: will use 'g++' for gcc, condition <toolset>gcc-4.2.1
notice: using gcc libraries :: <toolset>gcc-4.2.1 :: /usr/bin /usr/lib
/usr/lib32 /usr/lib64
notice: using gcc archiver :: <toolset>gcc-4.2.1 :: /usr/bin/ar
notice: using gcc ranlib :: <toolset>gcc-4.2.1 :: /usr/bin/ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from
/opt/local/share/doc/boost/tools/build/v2/user-config.jam:42
notice: using rc compiler :: <toolset>gcc-4.2.1 :: /usr/bin/as
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.7"
notice: [python-cfg] user-specified cmd-or-prefix: "/usr/bin/python"
notice: [python-cfg] Checking interpreter command "/usr/bin/python"...
notice: [python-cfg] running command '"/usr/bin/python" -c "from sys import
*;
print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'
% (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))"
2>&1'
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "/usr/bin/python"
notice: [python-cfg] include path:
"/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7"
notice: [python-cfg] library path:
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config"
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib"
notice: [python-cfg] framework directory is
"/System/Library/Frameworks/Python.framework"
error: Unable to find file or target named
error: '/boost/python//boost_python'
error: referred from project at
error: '.'

Yifei



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