Menu

#412 Install fails from PiPi

libSBML-5.11.4
closed
nobody
None
2015-06-15
2015-06-15
No

As per instructions here:
http://sbml.org/Software/libSBML/docs/python-api/libsbml-downloading.html#dl-python

pip install python-libsbml

.
.
.
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

1 Attachments

Discussion

  • Michael Hucka

    Michael Hucka - 2015-06-15

    Sorry for the trouble. Did you install the dependencies python-dev, libxml2-dev, libz-dev, and libbz2-dev? Please let us know.

     
    • Mark Poolman

      Mark Poolman - 2015-06-15

      On Mon, 2015-06-15 at 13:28 +0000, Michael Hucka wrote:

      Sorry for the trouble. Did you install the dependencies python-dev,
      libxml2-dev, libz-dev, and libbz2-dev? Please let us know.

      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
      • Michael Hucka

        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 :-))

         
  • Michael Hucka

    Michael Hucka - 2015-06-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     As per instructions here:
     http://sbml.org/Software/libSBML/docs/python-api/libsbml-downloading.html#dl-python
    
    • status: open --> closed
    • Priority: -->
     

Log in to post a comment.

MongoDB Logo MongoDB