|
Boost : |
Subject: Re: [boost] [release] Boost 1.67.0 Beta 1 Release Candidate 1
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2018-03-11 23:38:52
On 12/03/2018 11:17, Daniel James wrote:
> 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.
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk