[lxml-dev] Error installing lxml
David Pratt
fairwinds at eastlink.ca
Thu Apr 26 23:24:04 CEST 2007
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 at 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 at codespeak.net
> http://codespeak.net/mailman/listinfo/lxml-dev
More information about the lxml-dev
mailing list