Boost logo

Boost Users :

Subject: Re: [Boost-users] Trying to compile boost 1.40
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-08-21 08:34:52


Mathieu Malaterre wrote:

> On Fri, Aug 21, 2009 at 1:12 PM, Vladimir Prus<vladimir_at_[hidden]> wrote:
>> Mathieu Malaterre wrote:
>>
>>> Hi there,
>>>
>>> I am trying to compile boost 1.40 to start playing with the PBGL.
>>> I tried using bjam and followed the basic instructions but it fails
>>> to inspect my system and leads to:
>>>
>>> $ ./bjam install
>>> Note: Building Boost.Regex with Unicode/ICU support enabled
>>> Using ICU in  /usr/include
>>> warning: Graph library does not contain optional GraphML reader.
>>> note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
>>> note: directories containing the Expat headers and libraries, respectively.
>>> warning: Graph library does not contain MPI-based parallel components.
>>> note: to enable them, add "using mpi ;" to your user_config.jam
>>> warning: skipping optional Message Passing Interface (MPI) library.
>>> note: to enable MPI support, add "using mpi ;" to user-config.jam.
>>
>> Did you do as suggested above?
>
> I did 4 google search on 'user_config.jam boost', they all linked to
> deprecated documentation (they would not even be available from google
> cache), so I simply gave up. I only need the PBGL part, from VTK which
> is cmake based, so it seems more natural to use cmake for building
> boost.

Did you read getting started guide? It has direct link to Boost.Build
documentation. The specific page you need is:

        http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

If you have used bootstrap.sh, you can also edit project-config.jam in root
folder of Boost.

Also, it seems the above message has a typo -- it has user-config.jam in
one place, and user_config.jam in another (ironically, printed by PBGL).
I'll fix the misspelled one.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net