[maemo-developers] Failed creating my first .deb package of a Python library for Chinook using Scratchbox

From: Andrea Grandi a.grandi at gmail.com
Date: Thu Nov 15 23:26:31 EET 2007
Hi,

I need to port a Python library to Chinook, because I'm developing a
Python application that uses that library.

This is the library: http://flickrapi.sourceforge.net/
it's an API for Flickr (I'm writing a client that upload pictures to Flickr).

I was able to install the library into the SDK, in Scratchbox (using
the x86 target) but I've this two problems:

- in the x86 target I executed: fakeroot python2.5 setup.py install
and the library was installed correctly (my simple test application
works fine). When I select the other target (ARMEL), I'm not able to
install that library with the same command :(

I get these errors: http://pastebin.ca/776094

- the second problem I when I try to create the .deb package. I can
create it in the x86 target (I followed this guide:
http://pymaemo.garage.maemo.org/documentation/pymaemo_tutorial/python_maemo_howto.html#link22
) but I'm not able to create it under the ARMEL target, and I get
these errors: http://pastebin.ca/776101

Where I'm doing mistakes creating this package?

Thanks for your help!

Best regards,

-- 
Andrea Grandi
email: a.grandi at gmail.com
website: http://www.ptlug.org

More information about the maemo-developers mailing list