Boost logo

Boost :

Subject: Re: [boost] Did Boost 1.59.0 change the meaning of "using python : 3.4 : ..." in user-config.jam?
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-08-24 05:15:28


On 24-Aug-15 11:41 AM, Jonathan Wakely wrote:
> On 23 August 2015 at 18:05, Vladimir Prus wrote:
>> On 21-Aug-15 8:11 PM, Jonathan Wakely wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to update the Fedora rawhide package to Boost 1.59.0 and
>>> the build fails with the output below (ignore the MPI warnings).
>>>
>>> We build with the following in user-config.jam:
>>>
>>> # This _adds_ extra python version. It doesn't replace whatever
>>> # python 2.X is default on the system.
>>> using python : 3.4 : /usr/bin/python3 : /usr/include/python3.4m : : : : m
>>> ;
>>>
>>>
>>> Is that comment no longer true?
>>
>>
>> Jonathan,
>>
>> I've just tried with the following user-config.jam:
>>
>> using python : 2.7 : C:/Python27 ;
>> using python : 3.4 : C:/Python34 ;
>>
>> and was able to do both "b2 python=2.7" and "b2 python=3.4" and these appear
>> to pick different
>> python version - at least the latter produces a different set of warnings.
>
> Yes, if I add "using python : 2.7 : blahblah;" then it works, but
> we've been building using Python 2.7 without that extra line since
> 2012, and something seems to have changed in Boost 1.59.0

Maybe "using python : 2.7" was previously added by bootstrap.sh. If you still have
1.58 conveniently available, could you run bootstrap.sh and compare the generated
project-config.jam with the one in 1.59?

Again, it's not intended change, but maybe something in python detection got broke.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk