Boost logo

Boost :

Subject: Re: [boost] Unable to build boost python library in 1.46.1
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2011-03-25 11:56:32


Dave Abrahams wrote:
> OK, so this is failing to find the python headers.
>
>
>> notice: [python-cfg] Configuring python...
>> notice: [python-cfg] user-specified version: "2.5"
>> notice: [python-cfg] user-specified cmd-or-prefix: "/usr"
>> notice: [python-cfg] Checking interpreter command "/usr/bin/python2.5"...
>> notice: [python-cfg] running command '"/usr/bin/python2.5" -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
>> notice: [python-cfg] ...requested configuration matched!
>> notice: [python-cfg] Details of this Python configuration:
>> notice: [python-cfg] interpreter command: "/usr/bin/python2.5"
>> notice: [python-cfg] include path: "/usr/include/python2.5"
>>
>
> Does that path have a file called pyconfig.h in it? If not, you might
> need to add something to your user-config or site-config file that
> gives the correct #include path.
>
>
Yes, it does. And Boost 1.41.0 and 1.44.0 built the python library
with no problem finding the headers.
>> error: No best alternative for /python_for_extensions
>> next alternative: required properties: <python>2.5 <target-os>linux
>> matched
>> next alternative: required properties: <python>2.5 <target-os>linux
>> matched
>> error: No best alternative for /python_for_extensions
>> next alternative: required properties: <python>2.5 <target-os>linux
>> matched
>> next alternative: required properties: <python>2.5 <target-os>linux
>> matched
>>
>
> I've never really understood the logic behind Boost.Build's matching
> of alternatives. I think the messages above are probably innocuous,
> but they could be a problem (possibly related to
> https://trac.lvk.cs.msu.su/boost.build/wiki/AlternativeSelection).
> You should ask about that on the boost.build mailing list.
>
Hmm ... You think I should go to a different mailing list to ask about
my build problem?

-- 
Dick Hadsell			203-992-6320  Fax: 203-992-6001
Reply-to:			hadsell_at_[hidden]
Blue Sky Studios                http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560

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