[maemo-developers] Failed creating my first .deb package of a Python library for Chinook using Scratchbox
From: Marcelo Lira setanta at gmail.comDate: Fri Nov 16 21:11:32 EET 2007
- Previous message: Failed creating my first .deb package of a Python library for Chinook using Scratchbox
- Next message: Failed creating my first .deb package of a Python library for Chinook using Scratchbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Andrea, an update, thanks to Osvaldo tip I managed to install flickrapi without errors. I just needed to install the python2.5-dev package, again from chinook extras repository. Lauro and Osvaldo, having you guys around is very useful. :D On Nov 16, 2007 4:03 PM, Marcelo Lira <setanta at gmail.com> wrote: > Hi Andrea, > > there is a patched version of qemu-arm[1] maintained by Lauro Venâncio, I > installed it on my scratchbox and a lot of warnings like yours have > disappeared. I even tried to install the flickr library, but didn't succeed > for the lack of distutils.core package, but this is another problem. I at > least have entered the flickrapi directory, started python2.5 and > successfully imported all but one file (tokencache.py). > > So, here goes the procedure to install the patched qemu, These are to be > performed on the host machine, outside scratchbox, and it will be better to > be logged out from it. Thanks to Lauro for the tips. > > 1. You need gcc 3.4 > sudo apt-get install gcc-3.4 > > 2. Get the patched qemu-arm. Notice that the patches are already applied, > everything is here, and you don't need to get the qemu sources. > > svn co https://qemu-arm-eabi.svn.sourceforge.net/svnroot/qemu-arm-eabiqemu-arm-eabi > cd qemu-arm-eabi > ./configure --target-list=arm-linux-user --static > make > > 3. Copy qemu to the cputransp dir on scratchbox > sudo cp arm-linux-user/qemu-arm > /scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2 > > 4. Add it to the list of cputransp methods. Open the file > sudo vim /scratchbox/devkits/cputransp/etc/cputransp-methods > > and add this line: > > qemu-arm-eabi-sb2 > > 5. Configure the target to use the patched qemu as transparency method. > Edit the file: > vim /scratchbox/users/USERNAME/targets/SDK_BETA_ARMEL.config > > and change this line: > > > SBOX_CPUTRANSPARENCY_METHOD=/scratchbox/devkits/cputransp/bin/qemu-arm-eabi-sb2 > > And this is it. Enter scratchbox and start python (i'm using 2.5, from > extras repository). With the regular qemu just starting it will cause a lot > of warning messages to appear, but with the qemu-arm-eabi everything should > went smoothly. > > > [1] http://sourceforge.net/projects/qemu-arm-eabi/ > > -- > Marcelo Lira dos Santos > http://setanta.wordpress.com > @CInLUG: http://www.cin.ufpe.br/~cinlug <http://www.cin.ufpe.br/%7Ecinlug> > @Ciência Livre: http://www.ciencialivre.pro.br > @INdT: http://www.indt.org.br -- Marcelo Lira dos Santos http://setanta.wordpress.com @CInLUG: http://www.cin.ufpe.br/~cinlug @Ciência Livre: http://www.ciencialivre.pro.br @INdT: http://www.indt.org.br -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20071116/8d9f9569/attachment.htm
- Previous message: Failed creating my first .deb package of a Python library for Chinook using Scratchbox
- Next message: Failed creating my first .deb package of a Python library for Chinook using Scratchbox
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]