[maemo-developers] Compile Python2.5 for chinook error.

From: Anderson Lizardo anderson.lizardo at gmail.com
Date: Mon Nov 24 04:00:45 EET 2008
On Sat, Nov 22, 2008 at 12:49 AM, Qiang Chai <chaiwizard at gmail.com> wrote:
> Hi maemo developers,
>
> I want to compile the pyth2.5 for Chinook. The following steps were what I
> did.
> 1. Downlaod libffi4_4.1.0-1osso1.dsc & libffi4_4.1.0-1osso1.tar.gz from
> extras-devel.
> Run "dpkg-buildpackage -rfakeroot -b -d". This works find and I install the
> libffi.

Any reason why you cannot use the python interpreter from pymaemo
project? See http://pymaemo.garage.maemo.org/installation.html for
installation instructions (it is available in extras).

> 2.Download
> python2.5_2.5.2-1osso4.diff.gz,python2.5_2.5.2-1osso4.dsc&python2.5_2.5.2.orig.tar.gz
> Unpack the source code first: dpkg-source -x python2.5_2.5.2-1osso4.dsc.
> Then I use the "dpkg-buildpackage -rfakeroot -b -d" to build debian package,
> but the build process failed.
>
> These are the error messages:
> running install_lib
> sem_post: Function not implemented
> sem_post: Function not implemented
> sem_post: Function not implemented
> ...
> error: error listing files in 'build/lib.linux-armv5tel-2.5': Illegal seek

As said in another message in this thread, you can try to replace the
qemu emulator of your scratchbox installation. It will at least get
rid of those "sem_post: ..." errors. Instructions for how to download,
compile and build it (using a couple of scripts) are in
http://qemu-arm-eabi.wiki.sourceforge.net/

Regards,
-- 
Anderson Lizardo
Instituto Nokia de Tecnologia (INdT)
Manaus - Brazil

More information about the maemo-developers mailing list