Boost logo

Boost-Build :

Subject: Re: [Boost-build] Error Building Boost 1.61.0 on Linux
From: Nick (nospam_at_[hidden])
Date: 2016-08-03 11:09:06


On Tue, 2016-08-02 at 13:40 -0600, Steven Watanabe wrote:
> AMDG
>
> On 08/02/2016 12:42 PM, Nick wrote:
> >
> > nick_at_nimble ~/temp2/dev/3rdParty/Boost/boost_1_61_0 $ ./b2
> > /home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build/feature.jam:494: in feature.validate-value-string from module feature
> > error: "none" is not a known value of feature <optimization>
> > error: legal values: "off" "speed" "space"
> > <snip>
> > /usr/share/boost-build/site-config.jam:9: in modules.load from module
> > site-config
> >
>
> The problem is in this site-config.jam.
>
> In Christ,
> Steven Watanabe

Thank you for that. This file is from the OS (Gentoo)-provided Boost.
I'm looking to use a segregated build independent of the OS-provided
one.

According to
http://www.boost.org/build/doc/html/bbv2/overview/configuration.html
Boost.Build should only search teh following locations for
site-config.jam:
   - /etc
   - $HOME
   - $BOOST_BUILD_PATH

$HOME is /home/nick, and I've not defined BOOST_BUILD_PATH so I assume
it's `pwd` which is /home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0 in
my case. Is there some other reason it's picking up this file in this
location? Is there some way I can prevent it from doing so?


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