[lxml-dev] svn version failed to compiled against hg version of cython

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 ')'

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. Stefan

On Wed, Jun 4, 2008 at 6:36 PM, Stefan Behnel <stefan_ml@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.

Hi, Kevin JR wrote:
On Wed, Jun 4, 2008 at 6:36 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
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.
Believe me, you are not using a recent developer version of Cython. Maybe you have hg pulled from cython-release instead of cython-devel or whatever. Try moving your hg Cython directory out of the way and check if it still compiles. Stefan

On Thu, Jun 5, 2008 at 1:50 AM, Stefan Behnel <stefan_ml@behnel.de> wrote:
Hi,
Kevin JR wrote:
On Wed, Jun 4, 2008 at 6:36 PM, Stefan Behnel <stefan_ml@behnel.de> wrote:
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.
Believe me, you are not using a recent developer version of Cython. Maybe you have hg pulled from cython-release instead of cython-devel or whatever. Try moving your hg Cython directory out of the way and check if it still compiles.
yes, it works with cython-devel. thanks very much! :)
participants (2)
-
Kevin JR
-
Stefan Behnel