Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost.Python build (config ?) error
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2017-03-28 16:07:01


On Tue, Mar 28, 2017 at 11:02 AM, Stefan Seefeld via Boost-build <
boost-build_at_[hidden]> wrote:

> On 28.03.2017 11:51, Steven Watanabe via Boost-build wrote:
> > 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.
>
> What would be the correct spelling of those two lines ?
>

lib_boost_numpy($(py2-version)) = $(lib_boost_numpy(2)) ;
lib_boost_numpy($(py3-version)) = $(lib_boost_numpy(3)) ;

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail


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