Boost logo

Boost-Build :

Subject: Re: [Boost-build] Disable Python / Boost.Regex Unicode warnings when running bjam
From: Christian Auby (christian_at_[hidden])
Date: 2010-01-28 15:46:22


Boost 1.41 and the bjam that ships with it.

I depend on boost by having

use-project /boost : d:/dev/libs/boost ;

in user-config.jam (as a side note, this prevents me from building boost
directly in the boost folder, go figure)

My project jamroot thus does nothing except depend on /boost//thread
etc. The reason I do this instead of using the boost module in bjam is
because I use several compilers and depending on the source tree makes
-a recompile for the compiler I am currently using if I have changed
compiler options. Also lets me not have to compile all of boost
explicitly for each compiler nor manage library paths for each one.

Not at work atm so can't send you --debug-configuration right now but if
you think it's needed I can send it tomorrow.

Christian

On 1/28/2010 9:21 PM, Juergen Hunold wrote:
> Hi Christian,
>
> On Thursday 28 January 2010, you wrote:
>> ---
>> WARNING: No python installation configured and autoconfiguration
>> failed. See
>> http://www.boost.org/libs/python/doc/building.html for configuration
>> instructions or pass --without-python to suppress this message and
>> silently skip all Boost.Python targets warning: Building Boost.Regex
>> with the optional Unicode/ICU support disabled.
>> note: Please refer to the Boost.Regex documentation for more
>> information note: this is a strictly optional feature.
>> ---
>>
>> I don't need either of these, so how would I turn off these warnings?
>
> First, which version of Boost and Boost.Build are you using ? I just
> checked and those warnings only appear in trunk when building boost.
> Building from outside (means my own programs) works without warnings.
> Volodya fixed this a while ago...
>
>> Preferably in site-config.jam or user-config.jam as the project
>> Jamroot.jam is used by other people as well. I'd rather not type
>> --without-python on the command line every time build.
>
> How do you set up Boost in which "Jamroot.jam" ?
>
> Can you provide the output of "bjam --debug-configuration" as this might
> shed some light on this ?
>
> Yours,
>
> Jürgen


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