[lxml-dev] Error installing lxml

The data provider has a installation script that should works fine, BUT when
On Thursday 26 April 2007 22:14, Róger Aguilar wrote: tries
to install lxml I get this error: [root@ocaria build]#
src/lxml/etree.c:33:28: libxml/xmlsave.h: No such file or directory src/lxml/etree.c:35:30: libxml/xmlstring.h: No such file or directory
You need to install the libxml2 development package. On my system, Kubuntu, this is called libxml2-dev. Regards, Matt.

Hi Roger. lxml requires libxml2 and libxslt be installed before you can perform an easy_install. You will need install these packages on your system. Regards, David Róger Aguilar wrote:
Hi, my name is Roger and i work in a scientific institute, I am a linux newbie.
I was trying to install a data provider that uses lxml. The data provider has a installation script that should works fine, BUT when tries to install lxml I get this error:
[root@ocaria build]# ../python/bin/easy_install lxml Searching for lxml Reading http://cheeseshop.python.org/pypi/lxml/ Reading http://cheeseshop.python.org/pypi/lxml/1.3beta Reading http://codespeak.net/lxml Reading http://cheeseshop.python.org/pypi/lxml/1.2.1 Best match: lxml 1.3beta Downloading http://cheeseshop.python.org/packages/source/l/lxml/lxml-1.3beta.tar.gz Processing lxml-1.3beta.tar.gz Running lxml-1.3beta/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rV9hqn/lxml-1.3beta/egg-dist-tmp--d63_J Building lxml version 1.3.beta warning: no previously-included files found matching 'doc/pyrex.txt' warning: no previously-included files found matching 'src/lxml/etree.pxi' src/lxml/etree.c:33:28: libxml/xmlsave.h: No such file or directory src/lxml/etree.c:35:30: libxml/xmlstring.h: No such file or directory src/lxml/etree.c:46:26: libxslt/xslt.h: No such file or directory src/lxml/etree.c:47:32: libxslt/xsltconfig.h: No such file or directory src/lxml/etree.c:48:35: libxslt/xsltInternals.h: No such file or directory src/lxml/etree.c:49:32: libxslt/extensions.h: No such file or directory src/lxml/etree.c:50:31: libxslt/documents.h: No such file or directory src/lxml/etree.c:51:31: libxslt/transform.h: No such file or directory src/lxml/etree.c:52:31: libxslt/xsltutils.h: No such file or directory src/lxml/etree.c:53:30: libxslt/security.h: No such file or directory src/lxml/etree.c:54:27: libxslt/extra.h: No such file or directory src/lxml/etree.c:55:28: libexslt/exslt.h: No such file or directory src/lxml/etree.c:421: syntax error before "xmlError" src/lxml/etree.c:423: syntax error before '}' token src/lxml/etree.c:434: syntax error before "xmlError" src/lxml/etree.c:436: syntax error before '}' token src/lxml/etree.c:446: field `__pyx_base' has incomplete type src/lxml/etree.c:447: confused by earlier errors, bailing out error: Setup script exited with error: command 'gcc' failed with exit status 1
I suppose it's something wrong with the environment, but don´t know what. If someone could help me with this I´ll be very grateful.
Thanks
------------------------------------------------------------------------ MSN Amor Busca tu ½ naranja <http://g.msn.com/8HMBES/2752??PS=47575>
------------------------------------------------------------------------
_______________________________________________ lxml-dev mailing list lxml-dev@codespeak.net http://codespeak.net/mailman/listinfo/lxml-dev
participants (4)
-
David Pratt
-
Matthew Burgess
-
Paweł Pałucha
-
Róger Aguilar