-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Unable to build Boost with Python 3 #3274
Copy link
Copy link
Closed
Labels
Description
I'm trying to build Boost 1.63.0 with Python 3.6.0, but it is failing. The build output contains lines like:
./boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory
# include <pyconfig.h>
^
compilation terminated.
My user-config.jam looks like:
using gcc : : /blues/gpfs/home/software/spack-0.10.0/lib/spack/env/gcc/g++ ;
using python : 3.6 : /blues/gpfs/home/software/spack-0.10.0/opt/spack/linux-centos6-x86_64/gcc-6.1.0/python-3.6.0-prk6gk3ufbfetjc2bthqokmkjtjnce3j/bin/python : /blues/gpfs/home/software/spack-0.10.0/opt/spack/linux-centos6-x86_64/gcc-6.1.0/python-3.6.0-prk6gk3ufbfetjc2bthqokmkjtjnce3j/include/python3.6m : ;
/blues/gpfs/home/software/spack-0.10.0/opt/spack/linux-centos6-x86_64/gcc-6.1.0/python-3.6.0-prk6gk3ufbfetjc2bthqokmkjtjnce3j/include/python3.6m does indeed contain pyconfig.h, so I'm surprised by this error message. Anyone ever built Boost with Python 3 before?
Reactions are currently unavailable