As per instructions here:
http://sbml.org/Software/libSBML/docs/python-api/libsbml-downloading.html#dl-python
.
.
.
In file included from ./base/sbml/xml/LibXMLTranscode.cpp:35:0:
./base//sbml/xml/LibXMLTranscode.h:41:27: fatal error: libxml/parser.h: No such file or directory
#include <libxml parser.h=""></libxml>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_root/python-libsbml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-fU_Otg-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/python-libsbml
Storing debug log for failure in /root/.pip/pip.log
pip.log attached
Sorry for the trouble. Did you install the dependencies python-dev, libxml2-dev, libz-dev, and libbz2-dev? Please let us know.
On Mon, 2015-06-15 at 13:28 +0000, Michael Hucka wrote:
thanks for probably the fasted ever reply.
No, I had not read the web page properly and yes, installing the
dependencies fixes the problem. Maybe the dependencies should be
rendered in flashing red on the web page?!
Thanks again and sorry to bother you,
Mark
Last edit: Michael Hucka 2015-06-15
Ok, good to know that this was all it was. We'll try to think of a way to make the dependency warning more prominent. (However, flashing red might be a bit much :-))
Diff: