Boost logo

Boost-Build :

From: Gerjak, Balazs (balazs.gerjak_at_[hidden])
Date: 2019-10-30 09:42:14


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.

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