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
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:
> 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.
> 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
> In Christ,
> Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at