<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><head><style>p {margin:0px;padding:0px;} blockquote { border: 0px; margin-top: 0px; margin-bottom: 0px; }</style></head><body style="">
<font color="#000000" face="Verdana" size="2"><p>Hi,</p></font><p>&nbsp;</p><p>I am trying to build lxml svn trunk to check out the new objectify type conversions</p><p> and have some difficulty:</p><p>&nbsp;</p><p>$ PYTHONPATH=/data/pydev/DOWNLOADS/LXML/cython/versions/Cython-0.9.6.11b/build/lib/ /apps/pydev/bin/python2.4 setup.py build<br>Building lxml version 2.1.alpha1-53751.<br>Building with Cython 0.9.6.11b.<br>Using build configuration of libxslt 1.1.20<br>Building against libxml2/libxslt in one of the following directories:<br>&nbsp; /apps/prod//lib<br>&nbsp; /data/pydev/DOWNLOADS/LXML/libxml2/libxml2-2.6.27<br>running build<br>running build_py<br>writing byte-compilation script '/tmp/tmpVmrBsO.py'<br>/apps/pydev/bin/python2.4 -O /tmp/tmpVmrBsO.py<br>removing /tmp/tmpVmrBsO.py<br>running build_ext<br>cythoning src/lxml/lxml.etree.pyx to src/lxml/lxml.etree.c<br>building 'lxml.etree' extension<br>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<br>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<br>cythoning src/lxml/lxml.objectify.pyx to src/lxml/lxml.objectify.c<br><br>Error converting Pyrex file to C:<br>------------------------------------------------------------<br>...<br>&nbsp;&nbsp;&nbsp; if s is not None:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = __parseBoolAsInt(s)<br>&nbsp;&nbsp;&nbsp; if value == -1:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise ValueError<br><br>cpdef __parseBool(s):<br>&nbsp;&nbsp;&nbsp;&nbsp; ^<br>------------------------------------------------------------<br><br>/data/pydev/DOWNLOADS/LXML/lxml/versions/SVN_CHECKOUTS/TRUNK/lxml/src/lxml/lxml.objectify.pyx:842:6: Overridable cdef function not allowed here<br>building 'lxml.objectify' extension<br>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<br>gcc: src/lxml/lxml.objectify.c: No such file or directory<br>gcc: No input files<br>error: command 'gcc' failed with exit status 1</p><p>&nbsp;</p><p>&nbsp;</p><p>Is the Cython version I'm using up to par for this?</p><p>&nbsp;</p><p>The dev docs still indicate so:</p><p>&nbsp;</p><p>"lxml currently requires Cython 0.9.6.11b or 0.9.6.12, later versions
were not tested. "</p><p>&nbsp;</p><p>I also tried to build with the latest Cython, but this fails due to generated code not working with my</p><p>oldtimer compiler (filed a Cython bug report for it).&nbsp;</p><p>&nbsp;</p><p>Holger&nbsp;</p><p></p><font></font><p></p><div class="signature"><br /><br /><br />-- <br />Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! <br />http://games.entertainment.gmx.net/de/entertainment/games/free</div></body></html>