Fabien SCHWOB à écrit:
I'm trying to build lxml on FC4. I've already installed Pyrex and applied the gcc4-small-patch. But when I'm trying to build lxml with 'python setup.py install' or 'make', I get the following error : [...] TypeError: swig_sources() takes exactly 2 arguments (3 given)
http://codespeak.net/pipermail/lxml-dev/2006-March/000954.html
Thanks, this problem is solved, but now I have another one. You can see the log below. The English translation of "erreur: membre gauche de l'affectation invalide" (french) is "error: left member of the assignment is invalid".
Merci, j'avais compris ça. :) Are you sure you applied the two patches from http://codespeak.net/lxml/installation.html especially the first one? Stefan
============8<====== LOGS ========8<================
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/python2.4 -c src/lxml/etree.c -o build/temp.linux-i686-2.4/src/lxml/etree.o -w -I/usr/include/libxml2 src/lxml/etree.c: In function ‘__pyx_f_5etree__parseDocument’: src/lxml/etree.c:704: erreur: membre gauche de l'affectation invalide [...]