Hi, you have to install python2.5-dev package in scratchbox (apt-get install python2.5-dev).<br>To install your package you can use "python2.5-dev setup.py install" command.<br><br>This message "sem_post: Function not implemented" is a qemu problem<br>
(<a href="http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/" target="_blank">http://setanta.wordpress.com/2007/11/20/qemu-arm-eabi-no-scratchbox/</a>),<br>but compilation should work.<br><br>If this package (egenix-mx-base) was only in python (without bindings in C), you can install it<br>
directly in the device, because there isn't gcc and development libraries in n810 device.<br><br>[]'s<br>José Luís<br><br><div class="gmail_quote">On Wed, Apr 2, 2008 at 7:59 PM, Andrew Daviel <<a href="mailto:advax@triumf.ca" target="_blank">advax@triumf.ca</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I was just trying to build a Python package (mxDateTime from<br>
<a href="http://downloads.egenix.com/python/egenix-mx-base-2.0.6.tar.gz" target="_blank">http://downloads.egenix.com/python/egenix-mx-base-2.0.6.tar.gz</a>); not<br>
something I often do.<br>
<br>
While I've been able to compile various "C" packages with "configure;make<br>
install", the "python setup.py install" recipe failed, first trying to<br>
run /scratchbox/compilers/host-gcc/bin/gcc, which didn't exist, and then<br>
trying to install in /scratchbox/tools/lib/python2.3/site-packages/mx<br>
instead of /usr/lib/python2.3/site-packages/<br>
<br>
If I try "python2.4 setup.py install", it fails with various errors<br>
such as sem_post: Function not implemented<br>
<br>
<br>
I installed scratchbox with the <a href="http://maemo-scratchbox-install_4.0.sh" target="_blank">maemo-scratchbox-install_4.0.sh</a> script a<br>
few weeks ago, which got me AFAIK 2008SE_2.2007.52.0.<br>
That has Python 2.3 and Python 2.4<br>
<br>
I'm a bit confused as to which gets used; if I just type "python", I get<br>
2.3.4, although /usr/bin/python is a link to python2.4.<br>
If I type python2.4, I get 2.4.2<br>
<br>
<br>
My N810 now has OS2008 51-3, with Python <a href="http://2.5.1." target="_blank">2.5.1.</a> I'd kind of assumed that<br>
OS2008 scratchbox would have the same version as the tablet... and that<br>
"setup.py install" would work.<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
Andrew Daviel, TRIUMF, Canada<br>
Tel. +1 (604) 222-7376 (Pacific Time)<br>
Network Security Manager<br>
_______________________________________________<br>
maemo-users mailing list<br>
<a href="mailto:maemo-users@maemo.org" target="_blank">maemo-users@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-users" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>José Luís do Nascimento<br>Mestrando em Engenharia Elétrica<br>Laboratório de Sistemas Embarcados e Computação Pervasiva<br>UFCG - Campina Grande<br>jluisn at {ee,dee,embedded}.<a href="http://ufcg.edu.br" target="_blank">ufcg.edu.br</a>