[C++-sig] Boost 1.69 python3 module

stefan stefan at seefeld.name
Tue Jan 29 09:08:33 EST 2019


Hi Alexander,


On 2019-01-28 9:02 p.m., Alexander Biddulph wrote:
>
> Hopefully this is the right list for this.
>

It is, though the issue may be more related to the Boost build system 
(b2 / Boost.Build), so I'm cross-posting to try to get their attention, too.


>
> I have been struggling to get Boost 1.69 to build Boost.Python against 
> Python 3.6.3.
>
> I have specified the location of the python binary, include, and 
> library (due to a non-standard install location) in the 
> project-config.jam file in the Boost source directory.
>
> Running bjam and specifying  "--debug-configuration" results in 
> "[python-cfg]" output indicating that boost has found my Python 
> installation and is satisfied with it configuration, it also indicates 
> that it found numpy.
>
> notice: [python-cfg] Configuring python...
> notice: [python-cfg]   user-specified version: "3.6"
> notice: [python-cfg]   user-specified cmd-or-prefix: "/nubots/toolchain"
> notice: [python-cfg] Checking interpreter command 
> "/nubots/toolchain/bin/python3.6"...
> notice: [python-cfg] running command '/nubots/toolchain/bin/python3.6 
> -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: 
> "/nubots/toolchain/bin/python3.6"
> notice: [python-cfg]   include path: "/nubots/toolchain/include/python3.6"
> notice: [python-cfg]   library path: 
> "/nubots/toolchain/lib/python3.6/config" "/nubots/toolchain/lib"
> notice: [python-cfg] Checking for NumPy...
> notice: [python-cfg] running command '/nubots/toolchain/bin/python3.6 
> -c "import sys; sys.stderr = sys.stdout; import numpy; 
> print(numpy.get_include())"'
> notice: [python-cfg] NumPy enabled
> notice: [python-cfg] Configuring python...
> notice: [python-cfg]   user-specified version: "3.6"
> notice: [python-cfg]   user-specified cmd-or-prefix: 
> "/nubots/toolchain/bin/python3"
> notice: [python-cfg]   user-specified includes: 
> "/nubots/toolchain/include/python3.6m"
> notice: [python-cfg]   user-specified libraries: "/nubots/toolchain/lib"
> notice: [python-cfg] Details of this Python configuration:
> notice: [python-cfg]   interpreter command: 
> "/nubots/toolchain/bin/python3"
> notice: [python-cfg]   include path: 
> "/nubots/toolchain/include/python3.6m"
> notice: [python-cfg]   library path: "/nubots/toolchain/lib"
> notice: [python-cfg] Checking for NumPy...
> notice: [python-cfg] running command '/nubots/toolchain/bin/python3 -c 
> "import sys; sys.stderr = sys.stdout; import numpy; 
> print(numpy.get_include())"'
> notice: [python-cfg] NumPy enabled
>
> During the component configuration output it says "- python            
>        : building".


OK, so far all looks good / expected.


>
> Scanning through the build output there are numerous lines where 
> boost.python header files are copied (lines starting with 
> common.copy). However, the libboost_python appears to never be built 
> or installed and there is no output indicating that there was an error 
> with any stage of the build.


Can you please attach the full output of your build ? (Perhaps even 
rerun with `-d2` to make the output more verbose ?)


>
> It looks as though all other Boost modules/libraries are built, just 
> not Boost.Python. What is going on here?


Thanks,



Stefan

--

       ...ich hab' noch einen Koffer in Berlin...
     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190129/8dfe4067/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.png
Type: image/png
Size: 1478 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190129/8dfe4067/attachment-0001.png>


More information about the Cplusplus-sig mailing list