Boost logo

Boost-Build :

From: Edward Diener (eldiener_at_[hidden])
Date: 2019-10-31 04:11:42


On 10/30/2019 5:42 AM, Gerjak, Balazs via Boost-build wrote:
> Hi All,
>
> I have a problem compiling boost 1.68 on linux.
>
> I use g++ 4.9.2 with python 2.7.5.
>
> When I try to compile the boost.python library I got the following error:
>
> /usr/include/string.h:548:5: error: '__locale_t' has not been declared
>
> I searched the net and I found that usually they advice to use the
>
> „-D__USE_XOPEN2K8=1” compialtion option in this case, but neither the
>
> „./bootstrap.sh”,
>
> nor the
>
> „./b2”
>
> have an option to pass g++ compiler parameters via command line.

That is not true. You can pass compile flags in the command line using
cxxflags="my_parameters". See
https://boostorg.github.io/build/manual/master/index.html#bbv2.overview.builtins.features.

>
> Can you help me what can be the problem?
>
> Regards,
>
> Balázs Gerják


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