[lxml-dev] lxml build problem
Allan Curtis
allan at curtisnz.com
Mon Feb 27 08:32:46 CET 2006
Hi,
I am trying to build lxml from the latest svn build on a Suse10.0 based
computer with GCC4.02 and I seem to be getting gcc related errors when
compiling etree.
python setup.py build_ext -i
running build_ext
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=0 -Wall
-D_FORTI
FY_SOURCE=2 -g -fPIC -I/usr/include/python2.4 -c src/lxml/etree.c -o
build/temp.
linux-x86_64-2.4/src/lxml/etree.o -w -I/usr/include/libxml2
src/lxml/etree.c: In function ‘__pyx_f_5etree_12_ElementTree_parse’:
src/lxml/etree.c:921: error: invalid lvalue in assignment
src/lxml/etree.c:932: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree__newElementTree’:
src/lxml/etree.c:1858: error: invalid lvalue in assignment
src/lxml/etree.c:1884: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree__elementFactory’:
src/lxml/etree.c:4135: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree__commentFactory’:
src/lxml/etree.c:4522: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree__attribFactory’:
src/lxml/etree.c:5591: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree__xsltResultTreeFactory’:
src/lxml/etree.c:8377: error: invalid lvalue in assignment
src/lxml/etree.c: In function
'__pyx_f_5etree_22XPathDocumentEvaluator___init__’ :
src/lxml/etree.c:8473: error: invalid lvalue in assignment
src/lxml/etree.c:8478: error: invalid lvalue in assignment
src/lxml/etree.c: In function
‘__pyx_f_5etree_21XPathElementEvaluator___init__’:
src/lxml/etree.c:9256: error: invalid lvalue in assignment
src/lxml/etree.c: In function ‘__pyx_f_5etree_changeDocumentBelowHelper’:
src/lxml/etree.c:13105: error: invalid lvalue in assignment
error: command 'gcc' failed with exit status 1
make: *** [inplace] Error 1
Is anyone able to assist with resolving this?
Cheers,
--
Allan
More information about the lxml-dev
mailing list