Martijn Faassen wrote:
Hey everybody,
I've just released lxml 0.7. This is a release with quite a bit of new features and bug fixes, including XPath expression parameters, XInclude support, XMLSchema validation support, more namespace prefix support, better encoding support, and more.
And you updated the webpage to add svn instructions as well, thanks :) However here I cannot compile lxml on FC4 with gcc4:: ogrisel@groyours:~/Nuxeo/lxml $ svn up At revision 13448. ogrisel@groyours:~/Nuxeo/lxml $ gcc --version gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) [snip] ogrisel@groyours:~/Nuxeo/lxml $ pyrexc --version Pyrex version 0.9.3 ogrisel@groyours:~/Nuxeo/lxml $ python setup.py build running build running build_py running build_ext building 'lxml.etree' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include/libxml2 -I/usr/include/python2.4 -c src/lxml/etree.c -o build/temp.linux-i686-2.4/src/lxml/etree.o -w src/lxml/etree.c: In function '__pyx_f_5etree__elementFactory': src/lxml/etree.c:3349: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__commentFactory': src/lxml/etree.c:3726: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribFactory': src/lxml/etree.c:4569: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__attribIteratorFactory': src/lxml/etree.c:4706: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree__elementIteratorFactory': src/lxml/etree.c:4842: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_22XPathDocumentEvaluator___init__': src/lxml/etree.c:6058: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_21XPathElementEvaluator___init__':src/lxml/etree.c:6837: error: invalid lvalue in assignment src/lxml/etree.c: In function '__pyx_f_5etree_changeDocumentBelowHelper': src/lxml/etree.c:10305: error: invalid lvalue in assignment error: command 'gcc' failed with exit status 1 I don't know if it's a pyrex or lxml related problem though. Best, -- Olivier