Hopefully this is the right list for this.
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".
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.
It looks as though all other Boost modules/libraries are built, just not
Boost.Python. What is going on here?
_______________________________________________
Cplusplus-sig mailing list
[email protected]
https://mail.python.org/mailman/listinfo/cplusplus-sig