Boost logo

Boost-Build :

From: Gerjak, Balazs (balazs.gerjak_at_[hidden])
Date: 2019-10-31 09:13:51


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 <boost-build-bounces_at_[hidden]> On Behalf Of [lists.boost.org] Edward Diener via Boost-build
Sent: Thursday, October 31, 2019 5:12 AM
To: boost-build_at_[hidden]
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=


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