|
Boost-Build : |
Subject: Re: [Boost-build] Vacpp 10.1 build error
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-11-19 12:47:23
On Thu, Nov 18, 2010 at 4:41 PM, K. Noel Belcourt <kbelco_at_[hidden]> wrote:
>
> On Nov 18, 2010, at 2:27 PM, Vladimir Prus wrote:
>
>> On Friday, November 19, 2010 00:22:08 K. Noel Belcourt wrote:
>
>>> I'm getting what looks to be a Python build error when trying to run
>>> regression tests with the vacpp-10.1 toolset.
>>>
>>> error: No best alternative for /python_for_extensions
>>> next alternative: required properties: <python>2.4 <target-os>linux
>>> matched
>>> next alternative: required properties: <python>2.4 <target-os>linux
>>> matched
>>>
>>> The full error log is attached. Any idea how to fix this?
>>
>> Do you have two 'using python' (possibly in two different config files)?
>
> No, only one. But on this system python is installed in /usr/bin but my
> user-config.jam was pointing to another copy in /usr/local/bin. Removing
> the python path (/usr/local/bin) from user-config.jam seems to have fixed
> the problem.
>
> Thanks Volodya!
I believe you just ran into the problem addressed by
https://trac.lvk.cs.msu.su/boost.build/wiki/AlternativeSelection
-- Dave Abrahams BoostPro Computing http://www.boostpro.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