2.2.8 => src/lxml/lxml.etree.c:144938: error: ‘struct <anonymous>’ has no member named ‘d_type’

Bug #629187 reported by Sridhar Ratnakumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Fix Released
Low
scoder

Bug Description

lxml-2.2.8 fails to build on Linux with STATIC=True. libxml2-2.7.7, libxslt-1.1.26 are used for static linking.

[...]
building 'lxml.etree' extension
creating build/temp.linux-i686-3.2
creating build/temp.linux-i686-3.2/src
creating build/temp.linux-i686-3.2/src/lxml
gcc -pthread -fno-strict-aliasing -fPIC -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/tmpuXy9NF-pypm-lxml-2.2.8/lxml-2.2.8/build/tmp/libxml2/include -I/tmp/tmpuXy9NF-pypm-lxml-2.2.8/lxml-2.2.8/build/tmp/libxml2/include/libxml2 -I/tmp/tmpuXy9NF-pypm-lxml-2.2.8/lxml-2.2.8/build/tmp/libxml2/include/libxslt -I/tmp/tmpuXy9NF-pypm-lxml-2.2.8/lxml-2.2.8/build/tmp/libxml2/include/libexslt -I/opt/ActivePython-3.2/include/python3.2 -c src/lxml/lxml.etree.c -o build/temp.linux-i686-3.2/src/lxml/lxml.etree.o -w
src/lxml/lxml.etree.c: In function ‘__Pyx_Method_ClassMethod’:
src/lxml/lxml.etree.c:144938: error: ‘struct <anonymous>’ has no member named ‘d_type’
error: command 'gcc' failed with exit status 1

Revision history for this message
scoder (scoder) wrote :

This is a problem with Python 3.2 only. It is fixed in the 2.3 series and won't change in 2.2.x.

Changed in lxml:
assignee: nobody → Stefan Behnel (scoder)
importance: Undecided → Low
milestone: none → 2.3
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.