Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-04-01 13:17:50


On Friday 28 March 2008 07:31:21 Chun Tat David Chu wrote:
> Hi all,
>
> I'm a first time user of boost, and I'm having some difficulty building some
> boost libraries.
>
> Environment: mingw
> GCC Version: 3.4.5
> Boost Version: Downloaded the latest version from svn last night using this
> command (svn co http://svn.boost.org/svn/boost/trunk boost-trunk)
>
> I'm currently building boost library one by one.
> By doing so, first, I retrieved a list of libraries that I can build using
> command "bjam --show-libraries"
> Second, I ran the command "bjam --build-dir=build-boost --toolset=gcc stage
> --with-<library name>" (eg. --with-file_system, --with-thread and etc).
>
> I'm able to build most of the libraries except function_types, mpi,
> serialization and wave and python.
>
> I'm hoping someone on this list can shed some light on my issue.
>
> For serialization, I received the following errors
> $ bjam --build-dir=build-boost --toolset=gcc stage --with-serialization
> libs\config\test\Jamfile.v2:17: in modules.load
> rule run unknown in module Jamfile</c:/mingw/libraries/boost-1.35
> /libs/config/test>.

Can you update from SVN and try again? I think I've just fixed this.

> For function_types, I received the following errors
> $ bjam --build-dir=build-boost --toolset=gcc stage --with-function_types
> warning: Unable to construct ./stage-unversioned
> ...found 1 target...

Where's the error above?
 
> For mpi, I recevied the following errors after I modified "user-config.jam"
> in "tools/build/v2/user-config.jam"

How did you modify it?

> $ bjam --build-dir=build-boost --toolset=gcc stage --with-mpi
> The system cannot find the path specified.
> The system cannot find the path specified.
> The system cannot find the path specified.
> MPI auto-detection failed: unknown wrapper compiler mpic++
> Please report this error to the Boost mailing list: http://www.boost.org
> You will need to manually configure MPI support.
> 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.
> warning: Unable to construct ./stage-unversioned
> ...found 1 target...
>
> For wave, I received the following errors
> $ bjam --build-dir=build-boost --toolset=gcc stage --with-wave
> error: No best alternative for libs/thread/build/thread_sources
> next alternative: required properties: <threadapi>win32 <threading>multi
> not matched
> next alternative: required properties: <threadapi>pthread <threading>multi
> not matched
> c:/mingw/libraries/boost-1.35/tools/build/v2/build\generators.jam:859: in
> try-one-generator-really

I don't know what the above might mean. Can you raise the issue with
Boost.Thread developers?

- Volodya


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