[lxml-dev] svn version failed to compiled against hg version of cython
Kevin JR
ultrokevjr at gmail.com
Wed Jun 4 12:44:16 CEST 2008
On Wed, Jun 4, 2008 at 6:36 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> Kevin JR wrote:
> > libxslt-1.1.24
> > libxml2-2.6.32
> > python-2.5.2
> > cython-hg(482)
> >
> > the error message:
> >
> > $ python setup.py build
> > Building lxml version 2.1.beta3-55506.
> > Building with Cython 0.9.6.14.
> > Using build configuration of libxslt 1.1.24
> > Building against libxml2/libxslt in the following directory: /usr/lib
> > running build
> > running build_py
> > running build_ext
> > cythoning src/lxml/lxml.etree.pyx to src/lxml/lxml.etree.c
> >
> > Error converting Pyrex file to C:
> > ------------------------------------------------------------
> > ...
> > c_attr = c_attr.next
> > return attributes
> >
> > cdef object __RE_XML_ENCODING
> > __RE_XML_ENCODING = re.compile(
> > ur'^(\s*<\?\s*xml[^>]+)\s+encoding\s*=\s*"[^"]*"\s*', re.U)
> > ^
> > ------------------------------------------------------------
> >
> > /dev/shm/python-lxml/src/lxml-build/src/lxml/apihelpers.pxi:487:6:
> > Expected
> > ')'
>
> I guess you are actually using an older Cython version, likely installed
> with easy_install. The version number in current hg wasn't increased yet.
>
>
no, it's compiled from hg pool.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080604/027dbd4b/attachment.htm
More information about the lxml-dev
mailing list