Boost logo

Boost-Build :

Subject: [Boost-build] Error Building Boost 1.61.0 on Linux
From: Nick (nospam_at_[hidden])
Date: 2016-08-02 14:42:15


Hi all,

(Please CC me on all replies as I'm not subscribed to the list)

Boost 1.37, 1.55, and 1.60 all build fine for me using the same or
similar approach as below. All using GCC 4.9.3 on Linux.

Now trying to build Boost 1.61.0 in the same environment and getting the
following error (exact commands & output follow):

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"

I've tried running b2 with various combinations of the following but all
have the same result:
./b2 --prefix=/home/nick/temp2/dev/3rdParty/build32 --layout=versioned
--with-regex variant=debug,release link=static,shared threading=multi
address-model=32 install

Here are the individual commands & output:

nick_at_nimble ~/temp2/dev/3rdParty/Boost $ tar xjf ./boost_1_61_0.tar.bz2
nick_at_nimble ~/temp2/dev/3rdParty/Boost $ cd ./boost_1_61_0
nick_at_nimble ~/temp2/dev/3rdParty/Boost/boost_1_61_0 $ ./bootstrap.sh
--prefix=/home/nick/temp2/dev/3rdParty/build32 --with-libraries=regex
--with-icu=/home/nick/temp2/dev/3rdParty/build32
Building Boost.Build engine with toolset gcc...
tools/build/src/engine/bin.linuxx86/b2
Unicode/ICU support for
Boost.Regex?... /home/nick/temp2/dev/3rdParty/build32
Generating Boost.Build configuration in project-config.jam...

Bootstrapping is done. To build, run:

    ./b2
    
To adjust configuration, edit 'project-config.jam'.
Further information:

   - Command line help:
     ./b2 --help
     
   - Getting started guide:
     http://www.boost.org/more/getting_started/unix-variants.html
     
   - Boost.Build documentation:
     http://www.boost.org/build/doc/html/index.html

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"
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build/property.jam:276: in validate1 from module property
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build/property.jam:302: in property.validate from module property
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/tools/builtin.jam:381: in variant from module builtin
/usr/share/boost-build/site-config.jam:9: in modules.load from module
site-config
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build-system.jam:249: in load-config from module build-system
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build-system.jam:351: in load-configuration-files from module build-system
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/build-system.jam:524: in load from module build-system
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/kernel/modules.jam:295: in import from module modules
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module
/home/nick/temp2/dev/3rdParty/Boost/boost_1_61_0/boost-build.jam:17: in
module scope from module

nick_at_nimble ~/temp2/dev/3rdParty/Boost/boost_1_61_0 $


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