lxml build error in sun

O

Owen Zhang

I am trying to build lxml 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top