Re: boost.python 1.68 build uselocale problem

"Gerjak, Balazs via Boost-build" <[email protected]> Thu, 31 Oct 2019 09:13:51 +0000
Newsgroups gmane.comp.lib.boost.build
Message-ID <[email protected]>
Hi,

Thank you very much! That solved it!
"--help" did not print out this option but it is really useful.

Regards,
Balázs


-----Original Message-----
From: [lists.boost.org] Boost-build <[email protected]> On Behalf Of [lists.boost.org] Edward Diener via Boost-build
Sent: Thursday, October 31, 2019 5:12 AM
To: [email protected]
Cc: Edward Diener
Subject: Re: [Boost-build] boost.python 1.68 build uselocale problem

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
> 
> "./https://urldefense.proofpoint.com/v2/url?u=http-3A__bootstrap.sh&d=
> DwIF-g&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=kMhjQW60do6qv1ixqr1c8IginFoyTxWfQzO_
> XSWOU6I&m=KN_jGava1lut7Q1sVfKBSImqTaKsWFS4ea93qPo7BCI&s=FELhgYZ1ckv2l-
> C0aJrLlxv8iKFh-CHEkg3rnwOV2tQ&e= ",
> 
> 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://urldefense.proofpoint.com/v2/url?u=https-3A__boostorg.github.io_build_manual_master_index.html-23bbv2.overview.builtins.features&d=DwIF-g&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=kMhjQW60do6qv1ixqr1c8IginFoyTxWfQzO_XSWOU6I&m=KN_jGava1lut7Q1sVfKBSImqTaKsWFS4ea93qPo7BCI&s=hbMlF4d0RTvb4gDjEFXAY4dojg0mbc53W4s70RczfU0&e= .

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

_______________________________________________
Unsubscribe & other changes: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.boost.org_mailman_listinfo.cgi_boost-2Dbuild&d=DwIF-g&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=kMhjQW60do6qv1ixqr1c8IginFoyTxWfQzO_XSWOU6I&m=KN_jGava1lut7Q1sVfKBSImqTaKsWFS4ea93qPo7BCI&s=ktc7jxXhdxAnaquz04exkomYq8-8jK_gYnHQeQvmxGQ&e= 
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build