Boost logo

Boost-Build :

Subject: [Boost-build] Building boost with custom python 3.5 installation
From: Kovas Palunas (kovas_at_[hidden])
Date: 2016-07-14 18:21:46

Hi all,

I'm trying to build boost.python with a custom python 3.5 installation in a
custom directory. So far, I've been using the following sequence of
commands and have not gotten a successful build. Are there any other
things I have to tell boost in order for it to find all it needs properly?
I get errors along the lines of "cannot find Python.h", even though I think
I'm telling boost where to find the python headers.

python_root=`python3.5 -c "import sys; print(sys.prefix)”`

./ --with-python-root=$python_root
–with-libraries=python,regex,thread,serialization --with-python-version=3.5

(I add the following line to project-config.jam after running

using python : 3.5 : /mnt/data/kpalunas/python3.5/bin/python3.5m :
/mnt/data/kpalunas/python3.5/include : /mnt/data/kpalunas/python3.5/lib ;

./b2 install


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