|
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)â`
./bootstrap.sh --with-python-root=$python_root
--prefix=/mnt/data/kpalunas/boost/boost_1_58_0
--with-python=/mnt/data/kpalunas/python3.5/bin/python3.5
âwith-libraries=python,regex,thread,serialization --with-python-version=3.5
(I add the following line to project-config.jam after running bootstrap.sh)
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
Thanks!
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk