Re: boost.python 1.68 build uselocale problem

Edward Diener via Boost-build <[email protected]> Thu, 31 Oct 2019 00:11:42 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
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

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build