building lxml fails on xlocale.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running Debian stretch and have all of the dependencies I need.
Here's my output produced by a `pip install`:
In file included from /usr/include/
/usr/
#include <xlocale.h>
compilation terminated.
Compile failed: command 'x86_64-
cc -I/usr/
/tmp/
main (int argc, char **argv) {
^~~~
cc tmp/xmlXPathIni
error: command 'x86_64-
If you search around, lots of other people have this issue lately in different contexts. As a solution, people are recommending a symlink: ln -s /usr/include/
As stated here: https:/
glibc removed xlocale.h at version 2.26.
My bad, this is more of a bug in libxslt...