Subject: Re: [boost] [release] Boost 1.67.0 Beta 1 Release Candidate 1
From: Daniel James (dnljms_at_[hidden])
Date: 2018-03-11 22:17:13


On 10 March 2018 at 23:41, Andrzej Krzemienski <akrzemi1_at_[hidden]> 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 <pyconfig.h>, 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 <pyconfig.h>
> ^~~~~~~~~~~~
> 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.