[lxml-dev] trunk build problems + cython version
Holger Joukl
jholg at gmx.de
Tue Apr 15 13:38:52 CEST 2008
Hi,
I am trying to build lxml svn trunk to check out the new objectify type
conversions
and have some difficulty:
$
PYTHONPATH=/data/pydev/DOWNLOADS/LXML/cython/versions/Cython-0.9.6.11b/build/lib/
/apps/pydev/bin/python2.4 setup.py build
Building lxml version 2.1.alpha1-53751.
Building with Cython 0.9.6.11b.
Using build configuration of libxslt 1.1.20
Building against libxml2/libxslt in one of the following directories:
/apps/prod//lib
/data/pydev/DOWNLOADS/LXML/libxml2/libxml2-2.6.27
running build
running build_py
writing byte-compilation script '/tmp/tmpVmrBsO.py'
/apps/pydev/bin/python2.4 -O /tmp/tmpVmrBsO.py
removing /tmp/tmpVmrBsO.py
running build_ext
cythoning src/lxml/lxml.etree.pyx to src/lxml/lxml.etree.c
building 'lxml.etree' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/apps/prod//include -I/apps/prod//include/libxml2
-I/apps/prod/include/libxml2 -I/apps/prod/include
-I/apps/pydev/include/python2.4 -c src/lxml/lxml.etree.c -o
build/temp.solaris-2.8-sun4u-2.4/src/lxml/lxml.etree.o -w
gcc -shared build/temp.solaris-2.8-sun4u-2.4/src/lxml/lxml.etree.o
-L/apps/prod//lib -L/data/pydev/DOWNLOADS/LXML/libxml2/libxml2-2.6.27
-L/apps/prod/lib -Wl,-R/apps/prod/lib -lxslt -lexslt -lxml2 -lz -lm -o
build/lib.solaris-2.8-sun4u-2.4/lxml/etree.so
cythoning src/lxml/lxml.objectify.pyx to src/lxml/lxml.objectify.c
Error converting Pyrex file to C:
------------------------------------------------------------
...
if s is not None:
value = __parseBoolAsInt(s)
if value == -1:
raise ValueError
cpdef __parseBool(s):
^
------------------------------------------------------------
/data/pydev/DOWNLOADS/LXML/lxml/versions/SVN_CHECKOUTS/TRUNK/lxml/src/lxml/lxml.objectify.pyx:842:6:
Overridable cdef function not allowed here
building 'lxml.objectify' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/apps/prod//include -I/apps/prod//include/libxml2
-I/apps/prod/include/libxml2 -I/apps/prod/include
-I/apps/pydev/include/python2.4 -c src/lxml/lxml.objectify.c -o
build/temp.solaris-2.8-sun4u-2.4/src/lxml/lxml.objectify.o -w
gcc: src/lxml/lxml.objectify.c: No such file or directory
gcc: No input files
error: command 'gcc' failed with exit status 1
Is the Cython version I'm using up to par for this?
The dev docs still indicate so:
"lxml currently requires Cython 0.9.6.11b or 0.9.6.12, later versions
were not tested. "
I also tried to build with the latest Cython, but this fails due to
generated code not working with my
oldtimer compiler (filed a Cython bug report for it).
Holger
--
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
http://games.entertainment.gmx.net/de/entertainment/games/free
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080415/93d1313b/attachment.htm
More information about the lxml-dev
mailing list