On 12/03/2018 11:17, Daniel James wrote:
On 10 March 2018 at 23:41, Andrzej Krzemienski
wrote: Tried to build on Fedora 27, GCC 7.3.1. With command`./b2 --prefix=./Install toolset=gcc stage`
Libraries and shared objects do get built, I get a number of errors about missing file
, e.g.: ``` 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
^~~~~~~~~~~~ compilation terminated. I think this happens when you have python installed, but not python-devel. So the build system finds python and tried to build using it, but the headers are missing because python-devel isn't installed. I'm not sure if build is meant to be able to detect this.
It would be nice if it did, but historically it hasn't. I've usually just gotten into the habit of adding --without-python explicitly.