Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2008-03-11 13:23:50


On Mar 11, 2008, at 11:16 AM, Vladimir Prus wrote:

> K. Noel Belcourt wrote:
>
>> The user-config.jam I use for nightly testing has multiple python
>> toolsets configured, as follows:
>>
>> using python
>> : 2.5
>> : /home/kbelco/bin/python/linux-32
>> ;
>>
>> using python
>> : 2.4
>> : /usr/local/python/2.4.4
>> ;
>>
>> using python
>> : 2.3
>> : /usr/local/python/2.3.5
>> ;
>>
>> The nightly tests that use this configuration file are failing
>> because pythonpath is being redefined in the python.jam init rule,
>> here's the error message:
>>
>> /var/scratch2/boost/tools_bb/build/feature.jam:127: in
>> feature.feature from module feature
>> error: feature already defined:
>> error: in feature declaration:
>> error: feature "pythonpath" : : "free" "optional" "path"
>> /var/scratch2/boost/tools_bb/tools/python.jam:118: in python.init
>> from module python
>
> Oops, sorry.
>
> Can you instead move the feature declarations to the top level?

Sure, is this what you had in mind?

-- Noel






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