lxml 3.0.1 don't compile correctly with libxml2-2.9.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Low
|
scoder |
Bug Description
lxml 3.0.1 don't compile correctly with libxml2-2.9.0. With libxml2-2.8.0 it's fine.
libxslt version is 1.1.27.
pip error log:
...
make[2]: uscita dalla directory "/home/
Making all in doc
make[2]: ingresso nella directory "/home/
Making all in .
make[3]: ingresso nella directory "/home/
make[3]: Nessuna operazione da eseguire per "all-am".
make[3]: uscita dalla directory "/home/
Making all in devhelp
make[3]: ingresso nella directory "/home/
make[3]: *** Nessuna regola per generare l'obiettivo "home.png", necessario per "all-am". Arresto.
make[3]: uscita dalla directory "/home/
make[2]: *** [all-recursive] Errore 1
make[2]: uscita dalla directory "/home/
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/
make: *** [all] Errore 2
Building lxml version 3.0.1.
Latest version of libiconv is 1.14
Downloading libiconv into libs/libiconv-
Unpacking libiconv-
Latest version of libxml2 is 2.9.0
Downloading libxml2 into libs/libxml2-
Unpacking libxml2-
Latest version of libxslt is 1.1.27
Downloading libxslt into libs/libxslt-
Unpacking libxslt-
Starting build in build/tmp/
Starting build in build/tmp/
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/home/
**setup_
File "/home/
STATIC_CFLAGS, STATIC_BINARIES)
File "setupinfo.py", line 57, in ext_modules
multicore=
File "buildlibxml.py", line 338, in build_libxml2xslt
cmmi(
File "buildlibxml.py", line 266, in cmmi
cwd=build_dir, **call_setup)
File "buildlibxml.py", line 249, in call_subprocess
raise Exception('Command "%s" returned code %s' % (cmd_desc, returncode))
Exception: Command "make" returned code 512
Changed in lxml: | |
milestone: | none → 3.1 |
It looks more like a problem with your libxml2 build. Could you try if you can build libxml2 2.9.0 separately on your system?
This error hints at an issue outside of lxml:
""" alex/.virtualen vs/SPSE/ build/lxml/ build/tmp/ libxml2- 2.9.0/doc/ devhelp"
Making all in devhelp
make[3]: ingresso nella directory "/home/
make[3]: *** Nessuna regola per generare l'obiettivo "home.png", necessario per "all-am". Arresto.
"""
BTW, when you post error output in an english speaking place, please make sure your clear the "LANG" environment variable before running the build, e.g. "LANG= python setup.py build".