<br><br><div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">Brandon Craig Rhodes</b> &lt;<a href="mailto:brandon@rhodesmill.org">brandon@rhodesmill.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&quot;Santiago Videla&quot; &lt;<a href="mailto:santiago.videla@gmail.com">santiago.videla@gmail.com</a>&gt; writes:<br><br>&gt; and finally this:<br> &gt; ....<br>&gt; src/lxml/etree.c:87690: error: &#39;XML_XPATH_UNDEF_VARIABLE_ERROR&#39; undeclared
<br>&gt; (first use in this function)<br>&gt; src/lxml/etree.c:87691: error: &#39;XML_XPATH_UNDEF_PREFIX_ERROR&#39; undeclared<br>&gt; (first use in this function)<br>&gt; src/lxml/etree.c:87692: error: &#39;XML_XPATH_UNKNOWN_FUNC_ERROR&#39; undeclared
<br>&gt; (first use in this function)<br>&gt; src/lxml/etree.c:87693: error: &#39;XML_XPATH_INVALID_OPERAND&#39; undeclared (first<br>&gt; use in this function)<br>&gt; src/lxml/etree.c:87694: error: &#39;XML_XPATH_INVALID_TYPE&#39; undeclared (first
<br>&gt; use in this function)<br>&gt; src/lxml/etree.c:87695: error: &#39;XML_XPATH_INVALID_ARITY&#39; undeclared (first<br>&gt; use in this function)<br>&gt; src/lxml/etree.c:87696: error: &#39;XML_XPATH_INVALID_CTXT_SIZE&#39; undeclared
<br>&gt; (first use in this function)<br>&gt; src/lxml/etree.c:87697: error: &#39;XML_XPATH_INVALID_CTXT_POSITION&#39; undeclared<br>&gt; (first use in this function)<br>&gt; src/lxml/etree.c:87969: error: &#39;LIBXSLT_VERSION&#39; undeclared (first use in
<br>&gt; this function)<br>&gt; src/lxml/etree.c:87980: error: &#39;xsltLibxsltVersion&#39; undeclared (first use in<br>&gt; this function)<br>&gt; src/lxml/etree.c:87991: error: &#39;__pyx_v_5etree_XSLT_DOC_DEFAULT_LOADER&#39;
<br>&gt; undeclared (first use in this function)<br>&gt; src/lxml/etree.c:87991: error: &#39;xsltDocDefaultLoader&#39; undeclared (first use<br>&gt; in this function)<br>&gt; src/lxml/etree.c:88000: error: &#39;__pyx_f_5etree__xslt_doc_loader&#39; undeclared
<br>&gt; (first use in this function)<br>&gt; error: Setup script exited with error: command &#39;gcc&#39; failed with exit status<br>&gt; 1<br>&gt; An error occured when trying to install lxml 2.0alpha2.Look above this<br>
&gt; message for any errors thatwere output by easy_install.<br>&gt; While:<br>&gt;&nbsp;&nbsp; Installing test_kirbifetch.<br>&gt;&nbsp;&nbsp; Getting distribution for &#39;lxml&#39;.<br>&gt; Error: Couldn&#39;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&#39;ll<br>see that they begin with a complaint about a particular &quot;.h&quot; file<br>that&#39;s missing from your system.&nbsp;&nbsp;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 &quot;libxml2-dev&quot; and &quot;libxslt1-dev&quot;<br>before lxml would compile and install properly from the buildout.</blockquote>
<div><br>Thanks, it works<br>&nbsp;</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&nbsp;&nbsp;1 root root&nbsp;&nbsp;&nbsp;&nbsp; 14 2007-09-12 15:47 libxml -&gt; libxml2/libxml</blockquote><div><br>I don&#39;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 &#39;src/lxml/etree.c&#39; needs to be available.<br>warning: no previously-included files found matching &#39;doc/pyrex.txt&#39;
<br>warning: no previously-included files found matching &#39;src/lxml/etree.pxi&#39;<br>Got lxml 2.0alpha2.<br><br>&nbsp;</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&nbsp;&nbsp; <a href="mailto:brandon@rhodesmill.org">brandon@rhodesmill.org</a>&nbsp;&nbsp; <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.