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