[lxml-dev] Compile error with trunk
Stefan Behnel
stefan_ml at behnel.de
Fri Feb 1 07:12:56 CET 2008
Hi Ian,
Ian Bicking wrote:
> I tried rebuilding the trunk, installing cython and deleting the .c
> files I had around.
Note that this now requires a "make realclean", "make clean" will keep the .c
files (mostly to keep people from breaking things by accident if they build
without Cython).
> I got this:
>
> ~/src/lxml$ python setup.py develop
> Building with Cython 0.9.6.11.
[...]
> building 'lxml.etree' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall
> -Wstrict-prototypes -fPIC -I/usr/include/libxml2
> -I/usr/include/python2.5 -c src/lxml/lxml.etree.c -o
> build/temp.linux-i686-2.5/src/lxml/lxml.etree.o -w
> src/lxml/lxml.etree.c: In function
> ‘__pyx_tp_clear_4lxml_5etree__BaseParser’:
> src/lxml/lxml.etree.c:91711: error: invalid lvalue in assignment
> src/lxml/lxml.etree.c:91714: error: invalid lvalue in assignment
> src/lxml/lxml.etree.c:91717: error: invalid lvalue in assignment
> src/lxml/lxml.etree.c:91720: error: invalid lvalue in assignment
[...]
There is a bugfix release called Cython 0.9.6.11b. That should fix it.
BTW, I wasn't able to fix all lxml.html test cases, including the 'HTML
namespace' test which is now disabled. Please take a look at it once you've
fixed your setup. I also removed the <blink> element from the "html.clean"
tests as it seems to be problematic. Maybe there's a way to work around that?
Thanks,
Stefan
More information about the lxml-dev
mailing list