|
Boost-Build : |
Subject: Re: [Boost-build] Boost.Python build (config ?) error
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-03-28 15:51:05
On 03/28/2017 09:00 AM, Stefan Seefeld via Boost-build wrote:
> On 28.03.2017 10:55, Steven Watanabe via Boost-build wrote:
>> AMDG
>>
>> On 03/28/2017 08:01 AM, Stefan Seefeld via Boost-build wrote:
>>> <snip>
>>> - symlinks supported : yes (cached)
>>> error: No best alternative for libs/python/build/boost_python
>>> next alternative: required properties: <python>2.7
>>> matched
>>> next alternative: required properties: <python>2.7
>>> matched
>>> <snip>
>>>
>>> My ~/user-config.jam file contains
>>>
>>>
>>> using python : 2.7 ;
>>> using python : 3.5 : python3 : /usr/include/python3.5m :
>>> /usr/lib64/libpython3.5m.so ;
>>>
>>> Any idea what is wrong ?
>>>
>> Run b2 with --debug-configuration. My first guess is that
>> python is being initialized twice. --debug-configuration
>> should show where the other initialization is coming from.
>
> I don't see anything suspicious in this output:
>
My mistake. The error is with Boost.Python, not Python.
The cause of this problem is the typo here:
https://github.com/boostorg/python/blob/master/build/Jamfile#L127
which causes the numpy library to be named boost_python also.
In Christ,
Steven Watanabe
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