Building Boost from Modular Boost Repository
Hi, I wanted to test some experimental features of Boost Spirit X3, so I tried to install Boost from the "Modular Boost" Git repository, but without success. I followed the instructions on https://svn.boost.org/trac/boost/wiki/TryModBoost and the b2 command failed: /home/wichtounet/src/modular-boost/tools/build/src/build/feature.jam:493:
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/wichtounet/src/modular-boost/tools/build/src/build/property.jam:273: in validate1 from module property /home/wichtounet/src/modular-boost/tools/build/src/build/property.jam:299: in property.validate from module property /home/wichtounet/src/modular-boost/tools/build/src/tools/builtin.jam:377: in variant from module builtin /usr/share/boost-build/site-config.jam:9: in modules.load from module site-config /home/wichtounet/src/modular-boost/tools/build/src/build-system.jam:249: in load-config from module build-system /home/wichtounet/src/modular-boost/tools/build/src/build-system.jam:351: in load-configuration-files from module build-system /home/wichtounet/src/modular-boost/tools/build/src/build-system.jam:524: in load from module build-system /home/wichtounet/src/modular-boost/tools/build/src/kernel/modules.jam:289: in import from module modules /home/wichtounet/src/modular-boost/tools/build/src/kernel/bootstrap.jam:139: in boost-build from module /home/wichtounet/src/modular-boost/boost-build.jam:17: in module scope from module
I tried adding optimization=speed on the command line, but it didn't changed a thing. I tried the master and develop branches. Is there some configuration that is necessary ? Or is there another procedure to follow ? Thanks -- Baptiste Wicht, HES-SO University of applied Sciences My personal website - http://baptiste-wicht.com
AMDG On 04/10/2014 10:46 PM, Baptiste Wicht wrote:
<snip>
/home/wichtounet/src/modular-boost/tools/build/src/build/feature.jam:493:
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 coming from this file. In Christ, Steven Watanabe
Oh... I don't know how I haven't seen that :(
It's part of Gentoo Boost package. Can I tell b2 to ignore this global
configuration file ? Or override it with a local file ?
On Fri, Apr 11, 2014 at 4:18 PM, Steven Watanabe
AMDG
On 04/10/2014 10:46 PM, Baptiste Wicht wrote:
<snip>
/home/wichtounet/src/modular-boost/tools/build/src/build/feature.jam:493:
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 coming from this file.
In Christ, Steven Watanabe
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Baptiste Wicht, HES-SO University of applied Sciences My personal website - http://baptiste-wicht.com
On Fri, Apr 11, 2014 at 6:40 PM, Steven Watanabe
--ignore-site-config
Thanks, works like a charm. -- Baptiste Wicht, HES-SO University of applied Sciences My personal website - http://baptiste-wicht.com
participants (2)
-
Baptiste Wicht
-
Steven Watanabe