[Tutor] pip install lxml fails

Alex Kleider akleider at sonic.net
Thu Apr 9 22:27:37 CEST 2015


I tried something different and although not successful, there seems to 
be some progress:

----------------------------------------
(env)alex at t61p:~/P3env$ CFLAGS="-O0" STATIC_DEPS=true pip install lxml

.....
Exception: Command "make -j3" returned code 512

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in 
/home/alex/P3env/env/build/lxml
Storing debug log for failure in /home/alex/.pip/pip.log

The part of .pip/pip.log that might prove useful is as follows:

     make[1]: Leaving directory 
`/home/alex/P3env/env/build/lxml/build/tmp/libiconv-1.14/srclib'
     make: *** [all] Error 2
     Building lxml version 3.4.2.
     Latest version of libiconv is 1.14
     Downloading libiconv into libs/libiconv-1.14.tar.gz
     Unpacking libiconv-1.14.tar.gz into build/tmp
     Latest version of libxml2 is 2.9.2
     Downloading libxml2 into libs/libxml2-2.9.2.tar.gz
     Unpacking libxml2-2.9.2.tar.gz into build/tmp
     Latest version of libxslt is 1.1.28
     Downloading libxslt into libs/libxslt-1.1.28.tar.gz
     Unpacking libxslt-1.1.28.tar.gz into build/tmp
     Starting build in build/tmp/libiconv-1.14
     Traceback (most recent call last):
       File "<string>", line 17, in <module>
       File "/home/alex/P3env/env/build/lxml/setup.py", line 230, in 
<module>
         **setup_extra_options()
       File "/home/alex/P3env/env/build/lxml/setup.py", line 144, in 
setup_extra_options
         STATIC_CFLAGS, STATIC_BINARIES)
       File "/home/alex/P3env/env/build/lxml/setupinfo.py", line 57, in 
ext_modules
         multicore=OPTION_MULTICORE)
       File "/home/alex/P3env/env/build/lxml/buildlibxml.py", line 348, 
in build_libxml2xslt
         cmmi(configure_cmd, libiconv_dir, multicore, **call_setup)
       File "/home/alex/P3env/env/build/lxml/buildlibxml.py", line 285, 
in cmmi
         cwd=build_dir, **call_setup)
       File "/home/alex/P3env/env/build/lxml/buildlibxml.py", line 268, 
in call_subprocess
         raise Exception('Command "%s" returned code %s' % (cmd_desc, 
returncode))
     Exception: Command "make -j3" returned code 512
     Complete output from command python setup.py egg_info:
     checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

....



More information about the Tutor mailing list