Ubuntu 13.10
this is from ~/.pip/pip.log
building 'lxml.etree' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/lxml
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/home/vern/src/fontbakery/venv/build/lxml/src/lxml/includes -I/usr/include$
In file included from src/lxml/lxml.etree.c:346:0:
/home/vern/src/fontbakery/venv/build/lxml/src/lxml/includes/etree_defs.h:9:31: fatal error: libxml/xmlversion.h: No such file or directory
#include "libxml/xmlversion.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Can't roll back lxml; was not uninstalled
Cleaning up...
Removing temporary dir /home/vern/src/fontbakery/venv/build...
Command /home/vern/src/fontbakery/venv/bin/python -c "import setuptools;__file__='/home/vern/src/fontbakery/venv/build/lxml/setup.py';exec(compile(open(__file__).read().replace('\r\n'$
Exception information:
Traceback (most recent call last):
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 241, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/pip/req.py", line 1298, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/pip/req.py", line 625, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/home/vern/src/fontbakery/venv/local/lib/python2.7/site-packages/pip/util.py", line 670, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /home/vern/src/fontbakery/venv/bin/python -c "import setuptools;__file__='/home/vern/src/fontbakery/venv/build/lxml/setup.py';exec(compile(open(__file__).re$
fixed by;
sudo apt-get install libxslt1-dev
is fontbakery dependent on libxslt-dev??
On 28 February 2014 18:32, vernon adams [email protected] wrote:
fixed by;
sudo apt-get install libxslt1-devis fontbakery dependent on libxslt-dev?
Yes according to http://lxml.de/installation.html#requirements
Fixed in INSTALL,
https://github.com/xen/fontbakery/commit/91153d04c126ab7a4cd42dd933ca1bfe23a415a7
Most helpful comment
fixed by;
sudo apt-get install libxslt1-dev
is fontbakery dependent on libxslt-dev??