[maemo-users] Python versions, build in scratchbox

From: Andrew Daviel advax at triumf.ca
Date: Thu Apr 3 04:23:53 EEST 2008
On Wed, 2 Apr 2008, José Luís wrote:

> Hi, you have to install python2.5-dev package in scratchbox (apt-get install
> python2.5-dev).

OK - that gets python2.5 and libffi4, too.

> To install your package you can use "python2.5-dev setup.py install"
> command.

I guess you mean "python2.5 setup.py install"

>
> 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.

"python2.5 setup.py  build" works, but I get things like
   qemu: Unsupported syscall: 0
   qemu: uncaught target signal 11 (Segmentation fault) - exiting
   qemu: uncaught target signal 4 (Illegal instruction) - exiting
   error: command '/usr/bin/python2.5' failed with exit status 252
when I do "python2.5 setup.py install".
Tt seems to fail after a certain time, so by re-running the script
multiple times, eventually it finishes.
Would rebuilding quemu fix this problem, too ?



Andrew
More information about the maemo-users mailing list