Subject: Re: [Boost-build] Disable Python / Boost.Regex Unicode warnings when running bjam
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2010-01-28 14:57:04
Emil Dotchevski wrote:
> On Thu, Jan 28, 2010 at 6:10 AM, Christian Auby <christian_at_[hidden]> 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
>> 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?
>> 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.
> Good luck with this request. I've been trying to make this garbage go
> away for years. :)
> I suppose this is telling what Boost Build really is, it's the thing
> that builds Boost. At least Boost Python and Boost Regex treat it that
No, Boost.Build is not just the thing that builds Boost. It's a general
build system. We use it on our current project, and we use the standard
version of Boost in our distribution.
I don't understand why the original poster is trying to recompile Boost
every time he builds though. I would suggest building Boost once, and
then referring to it in the project via use-project and alias rules, or
through the boost.jam file in the contrib folder. (The latter needs to
be updated though.)
-- Anthony Foglia Princeton Consultants (609) 987-8787 x233
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