<div dir="ltr"><div id="inbdy"><a name="msg_b25d9d501ac86f18"></a><font class="fixed_width" face="Courier, Monospaced">I am trying to build <b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b> 2.1 package in SunOS 5.10. I got the following <br>
errors. Does anybody know why? <br>
<p>$ python setup.py build <br>Building <b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b> version 2.1. <br>NOTE: Trying to build without Cython, pre-generated 'src/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>/ <br>
<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>.etree.c' needs to be available. <br>Using build configuration of libxslt 1.1.7 <br>Building against libxml2/libxslt in the following directory: /usr/lib <br>
running build <br>running build_py <br>running build_ext <br>building '<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>.etree' extension <br>gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes - <br>
fPIC -I/opt/swt/install/libxml2-2.6.27/include/libxml2 -I/opt/swt/ <br>install/Python-2.5/include/python2.5 -c src/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>.etree.c -o build/ <br>
temp.solaris-2.10-sun4u-2.5/src/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>.etree.o -w <br>In file included from /usr/include/sys/wait.h:24, <br>
from /usr/include/stdlib.h:22, <br> from /opt/swt/install/Python-2.5/include/python2.5/ <br>Python.h:41, <br> from src/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>/<b style="COLOR: black; BACKGROUND-COLOR: #ffff66">lxml</b>.etree.c:4: <br>
/usr/include/sys/siginfo.h:259: error: syntax error before "ctid_t" <br>/usr/include/sys/siginfo.h:292: error: syntax error before '}' token <br>/usr/include/sys/siginfo.h:294: error: syntax error before '}' token <br>
/usr/include/sys/siginfo.h:390: error: syntax error before "ctid_t" <br>/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault' <br>/usr/include/sys/siginfo.h:267: error: previous declaration of <br>
'__fault' was here <br></p></font></div></div>