-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
Description
I am attempting to build all of boost using a docker container that only has Python 3.6 in it, and Boost.Python fails to build:
gcc.compile.c++ bin.v2/libs/python/build/gcc-7.3/release/threading-multi/list.o
In file included from ./boost/python/detail/prefix.hpp:13:0,
from ./boost/python/list.hpp:8,
from libs/python/src/list.cpp:5:
./boost/python/detail/wrap_python.hpp:50:11: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^~~~~~~~~~~~
compilation terminated.
"/usr/bin/g++-7" -fPIC -m64 -pthread -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-7.3/release/threading-multi/list.o" "libs/python/src/list.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-7.3/release/threading-multi/list.o...
gcc.compile.c++ bin.v2/libs/program_options/build/gcc-7.3/release/threading-multi/split.o
gcc.link.dll bin.v2/libs/program_options/build/gcc-7.3/release/threading-multi/libboost_program_options.so.1.69.0
common.copy stage/lib/libboost_program_options.so.1.69.0
...failed updating 1 target...
...updated 393 targets...
boost@87988c84883a:/boost$ find / -name pyconfig.h
/usr/include/x86_64-linux-gnu/python3.6m/pyconfig.h
/usr/include/python3.6m/pyconfig.h
The docker container can be found at:
boostorg/boost#184
Using "docker/run.sh ubuntu bionic"
Is this repository compatible with a python 3.6-only environment (no 2.7) from boost jam builds?
Metadata
Metadata
Assignees
Labels
No labels