Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] darwin linker hangs when building boost.python quickstart example
From: Berg, Stuart (bergs_at_[hidden])
Date: 2012-04-02 11:29:58


> With that in
> mind, that paths look suspicious to me. Can you find
> the output of bjam --debug-configuration <other options>
> ?

Gladly! Here is the output you requested. For reference, I've also pasted the contents of my user-config.jam file. (I didn't have one originally, but I was hoping that manually specifying the python location might help. As far as I can tell, it made no difference.)

-Stuart

#########################
# tools/build/v2/user-config.jam
#########################
using clang ;
using python : 2.7
             : /Library/Frameworks/Python.framework/Versions/2.7/bin/python
             : /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
             : /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
             ;

$ ./bjam --debug-configuration toolset=clang
notice: found boost-build.jam at /Users/bergs/Downloads/boost_1_49_0/boost-build.jam
notice: loading Boost.Build from /Users/bergs/Downloads/boost_1_49_0/tools/build/v2
notice: Searching /etc /Users/bergs /Users/bergs/Downloads/boost_1_49_0/tools/build/v2 /usr/share/boost-build /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/kernel /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/util /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/build /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/tools /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/contrib /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/. for site-config configuration file site-config.jam .
notice: Loading site-config configuration file site-config.jam from /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/site-config.jam .
notice: Searching /Users/bergs /Users/bergs/Downloads/boost_1_49_0/tools/build/v2 /usr/share/boost-build /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/kernel /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/util /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/build /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/tools /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/contrib /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/. for user-config configuration file user-config.jam .
notice: Loading user-config configuration file user-config.jam from /Users/bergs/Downloads/boost_1_49_0/tools/build/v2/user-config.jam .
notice: will use 'clang++' for clang-darwin, condition <toolset>clang-darwin-4.2.1
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "2.7"
notice: [python-cfg] user-specified cmd-or-prefix: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python"
notice: [python-cfg] user-specified includes: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7"
notice: [python-cfg] user-specified libraries: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7"
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "/Library/Frameworks/Python.framework/Versions/2.7/bin/python"
notice: [python-cfg] include path: "/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7"
notice: [python-cfg] library path: "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7"
notice: [python-cfg] framework directory is "/Library/Frameworks/Python.framework"
notice: Searching for project-config configuration file project-config.jam .
notice: Loading project-config configuration file project-config.jam from project-config.jam .
notice: OSX version on this machine is 10.7.3
notice: will use 'g++' for darwin, condition <toolset>darwin-4.2.1
notice: using strip for <toolset>darwin-4.2.1 at /usr/bin/strip
notice: using archiver for <toolset>darwin-4.2.1 at /usr/bin/libtool
notice: [cmdline-cfg] Detected command-line request for clang: toolset= clang version=
notice: [cmdline-cfg] toolset clang already configured
notice: iostreams: using prebuilt zlib
notice: iostreams: using prebuilt bzip2

Building the Boost C++ Libraries.

Performing configuration checks

    - has_icu builds : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
    - iconv (libc) : no
    - iconv (separate) : yes
    - icu : no
    - icu (lib64) : no
    - ../config//has_gcc_visibility builds : yes
    - ../config//has_long_double_support builds : yes
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.

Component configuration:

    - chrono : building
    - date_time : building
    - exception : building
    - filesystem : building
    - graph : building
    - graph_parallel : building
    - iostreams : building
    - locale : building
    - math : building
    - mpi : building
    - program_options : building
    - python : building
    - random : building
    - regex : building
    - serialization : building
    - signals : building
    - system : building
    - test : building
    - thread : building
    - timer : building
    - wave : building

...patience...
...patience...
...patience...
...patience...
...found 8410 targets...

The Boost C++ Libraries were successfully built!
          
The following directory should be added to compiler include paths:
          
    /Users/bergs/Downloads/boost_1_49_0
      
The following directory should be added to linker library paths:
      
    /Users/bergs/Downloads/boost_1_49_0/stage/lib


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