Boost logo

Boost-Build :

Subject: Re: [Boost-build] [C++-sig] Boost 1.69 python3 module
From: Alex Biddulph (c3124185_at_[hidden])
Date: 2019-02-21 22:31:26


Ok, I played around a bit more.

It was indeed configuring python twice. Likely because the bootstrap.sh
script adds this bit to project-config.jam

# Python configuration
import python ;
if ! [ python.configured ]
{
 Â Â Â  using python : 3.6 : /nubots/toolchain ;
}

which results in a non-working python configuration due to the
incorrectly determined include path "{prefix}/include/python3.6". The
correct include path should be "{prefix}/include/python3.6m". This was
the root cause of my problem, which is why I added

using python : 3.6 : "{prefix}/bin/python3" :
"{prefix}/include/python3.6m" : "{prefix}/lib" ;

to the end of project-config.jam, hoping it would override the previous
configuration and use the correct paths for my installation. Which
resulted in this discussion.


On 19/2/19 3:24 pm, Steven Watanabe wrote:
> AMDG
>
> On 2/18/19 9:09 PM, Alex Biddulph wrote:
>> Not sure what happened there, I must have dirtied my build environment.
>>
>> I cleaned everything up and ran it again. Here is the output.
>> https://drive.google.com/open?id=1u_8KHpjuAC2Cm0jGrVOdGvaqxFtslhNm
>>
> The problem is that you are configuring python twice.
> Please make sure that you only have one `using python`
> statement in your project-config.jam (or any other
> configuration file). This is a really obscure failure
> mode and I'll look into making a better message. You
> might file a ticket at https://github.com/boostorg/build/
>
> 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