On Wed, Jun 4, 2008 at 6:36 PM, Stefan Behnel &lt;<a href="mailto:stefan_ml@behnel.de">stefan_ml@behnel.de</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">Kevin JR wrote:<br>
&gt; libxslt-1.1.24<br>
&gt; libxml2-2.6.32<br>
&gt; python-2.5.2<br>
&gt; cython-hg(482)<br>
&gt;<br>
&gt; the error message:<br>
&gt;<br>
&gt; $ python setup.py build<br>
&gt; Building lxml version 2.1.beta3-55506.<br>
&gt; Building with Cython <a href="http://0.9.6.14" target="_blank">0.9.6.14</a>.<br>
&gt; Using build configuration of libxslt 1.1.24<br>
&gt; Building against libxml2/libxslt in the following directory: /usr/lib<br>
&gt; running build<br>
&gt; running build_py<br>
&gt; running build_ext<br>
&gt; cythoning src/lxml/lxml.etree.pyx to src/lxml/lxml.etree.c<br>
&gt;<br>
&gt; Error converting Pyrex file to C:<br>
&gt; ------------------------------------------------------------<br>
&gt; ...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; c_attr = c_attr.next<br>
&gt; &nbsp; &nbsp; return attributes<br>
&gt;<br>
&gt; cdef object __RE_XML_ENCODING<br>
&gt; __RE_XML_ENCODING = re.compile(<br>
&gt; &nbsp; &nbsp; ur&#39;^(\s*&lt;\?\s*xml[^&gt;]+)\s+encoding\s*=\s*&quot;[^&quot;]*&quot;\s*&#39;, re.U)<br>
&gt; &nbsp; &nbsp; &nbsp;^<br>
&gt; ------------------------------------------------------------<br>
&gt;<br>
&gt; /dev/shm/python-lxml/src/lxml-build/src/lxml/apihelpers.pxi:487:6:<br>
&gt; Expected<br>
&gt; &#39;)&#39;<br>
<br>
</div></div>I guess you are actually using an older Cython version, likely installed<br>
with easy_install. The version number in current hg wasn&#39;t increased yet.<br>
<font color="#888888"><br>
</font></blockquote><div><br></div></div>no, it&#39;s compiled from hg pool.<br>