Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-17 13:24:10


on Fri Aug 17 2007, Roland Schwarz <roland.schwarz-AT-chello.at> wrote:

> On RC_1_34_0 branch it was possible to select the python version like so:
>
> bjam -d+2 gcc-3.4.5/toolset-gcc:flavor=mingw/target-os=windows/python=2.5
>
> Using this on trunk gives:
>
> X:/projects/boost/trunk/tools/build/v2/build\property.jam:282: in validate1 from
> module property
> error: Invalid property '<python>2.5': unknown feature 'python'.
> X:/projects/boost/trunk/tools/build/v2/build\property.jam:290: in
> property.validate from module property
> X:/projects/boost/trunk/tools/build/v2/build\build-request.jam:185: in
> convert-command-line-element from module build-request
> X:/projects/boost/trunk/tools/build/v2/build\build-request.jam:143: in
> build-request.from-command-line from module build-request
> X:/projects/boost/trunk/tools/build/v2\build-system.jam:267: in load from module
> build-system
> X:\projects\boost\trunk\tools\build\v2/kernel\modules.jam:261: in import from
> module modules
> X:\projects\boost\trunk\tools\build\v2/kernel/bootstrap.jam:132: in boost-build
> from module
> X:\projects\boost\trunk\boost-build.jam:9: in module scope from module
>
> How should I specify the python version to use instead?

I wouldn't count on everything in the trunk having been maintained.
You might try copying python.jam from RC_1_34_0

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

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