<br><br><div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">Brandon Craig Rhodes</b> <<a href="mailto:brandon@rhodesmill.org">brandon@rhodesmill.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"Santiago Videla" <<a href="mailto:santiago.videla@gmail.com">santiago.videla@gmail.com</a>> writes:<br><br>> and finally this:<br> > ....<br>> src/lxml/etree.c:87690: error: 'XML_XPATH_UNDEF_VARIABLE_ERROR' undeclared
<br>> (first use in this function)<br>> src/lxml/etree.c:87691: error: 'XML_XPATH_UNDEF_PREFIX_ERROR' undeclared<br>> (first use in this function)<br>> src/lxml/etree.c:87692: error: 'XML_XPATH_UNKNOWN_FUNC_ERROR' undeclared
<br>> (first use in this function)<br>> src/lxml/etree.c:87693: error: 'XML_XPATH_INVALID_OPERAND' undeclared (first<br>> use in this function)<br>> src/lxml/etree.c:87694: error: 'XML_XPATH_INVALID_TYPE' undeclared (first
<br>> use in this function)<br>> src/lxml/etree.c:87695: error: 'XML_XPATH_INVALID_ARITY' undeclared (first<br>> use in this function)<br>> src/lxml/etree.c:87696: error: 'XML_XPATH_INVALID_CTXT_SIZE' undeclared
<br>> (first use in this function)<br>> src/lxml/etree.c:87697: error: 'XML_XPATH_INVALID_CTXT_POSITION' undeclared<br>> (first use in this function)<br>> src/lxml/etree.c:87969: error: 'LIBXSLT_VERSION' undeclared (first use in
<br>> this function)<br>> src/lxml/etree.c:87980: error: 'xsltLibxsltVersion' undeclared (first use in<br>> this function)<br>> src/lxml/etree.c:87991: error: '__pyx_v_5etree_XSLT_DOC_DEFAULT_LOADER'
<br>> undeclared (first use in this function)<br>> src/lxml/etree.c:87991: error: 'xsltDocDefaultLoader' undeclared (first use<br>> in this function)<br>> src/lxml/etree.c:88000: error: '__pyx_f_5etree__xslt_doc_loader' undeclared
<br>> (first use in this function)<br>> error: Setup script exited with error: command 'gcc' failed with exit status<br>> 1<br>> An error occured when trying to install lxml 2.0alpha2.Look above this<br>
> message for any errors thatwere output by easy_install.<br>> While:<br>> Installing test_kirbifetch.<br>> Getting distribution for 'lxml'.<br>> Error: Couldn't install: lxml 2.0alpha2<br><br>
I had that problem a few days ago!<br><br>If you look way up at the top of the list of error messages, you'll<br>see that they begin with a complaint about a particular ".h" file<br>that's missing from your system. You need to ask your system what
<br>package would provide that file, then install it.<br><br>On my Debian system, I had to install "libxml2-dev" and "libxslt1-dev"<br>before lxml would compile and install properly from the buildout.</blockquote>
<div><br>Thanks, it works<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Actually, I think I also had to make a symlink because Debian put a
<br>library one level deep that the lxml source code wanted at the root:<br><br>$ ls -l /usr/include/libxml<br>lrwxrwxrwx 1 root root 14 2007-09-12 15:47 libxml -> libxml2/libxml</blockquote><div><br>I don't understand this. Where do you create the link?
<br>I got this log, are the warnings something to worry about??<br><br>Building lxml version 2.0.alpha2<br>NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c' needs to be available.<br>warning: no previously-included files found matching 'doc/pyrex.txt'
<br>warning: no previously-included files found matching 'src/lxml/etree.pxi'<br>Got lxml 2.0alpha2.<br><br> </div>thanks<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>Brandon Craig Rhodes <a href="mailto:brandon@rhodesmill.org">brandon@rhodesmill.org</a> <a href="http://rhodesmill.org/brandon">http://rhodesmill.org/brandon</a><br></blockquote></div><br><br clear="all"><br>--
<br>Santiago Videla<br><a href="http://www.revolucionesweb.com.ar">www.revolucionesweb.com.ar</a><br><br>Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el pensamiento que se hace corazón resplandece con la palabra sencilla y humilde que
l@s tod@s somos.