[lxml-dev] Build error of lxml 2.1
Owen Zhang
owenzhang.chicago at gmail.com
Tue Sep 16 22:43:00 CEST 2008
I am trying to build *lxml* 2.1 package in SunOS 5.10. I got the following
errors. Does anybody know why?
$ python setup.py build
Building *lxml* version 2.1.
NOTE: Trying to build without Cython, pre-generated 'src/*lxml*/
*lxml*.etree.c' needs to be available.
Using build configuration of libxslt 1.1.7
Building against libxml2/libxslt in the following directory: /usr/lib
running build
running build_py
running build_ext
building '*lxml*.etree' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
fPIC -I/opt/swt/install/libxml2-2.6.27/include/libxml2 -I/opt/swt/
install/Python-2.5/include/python2.5 -c src/*lxml*/*lxml*.etree.c -o build/
temp.solaris-2.10-sun4u-2.5/src/*lxml*/*lxml*.etree.o -w
In file included from /usr/include/sys/wait.h:24,
from /usr/include/stdlib.h:22,
from /opt/swt/install/Python-2.5/include/python2.5/
Python.h:41,
from src/*lxml*/*lxml*.etree.c:4:
/usr/include/sys/siginfo.h:259: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: syntax error before '}' token
/usr/include/sys/siginfo.h:294: error: syntax error before '}' token
/usr/include/sys/siginfo.h:390: error: syntax error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of
'__fault' was here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080916/7fb460e8/attachment.htm
More information about the lxml-dev
mailing list