View Single Post
epage's Avatar
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#75
Originally Posted by caco3 View Post
Thank you for your quick help.
I installed the SDK and could run it, also Yephyr works.
I made the hello example in http://wiki.maemo.org/Packaging and it works.
But now I do not know how I have to continue to build a c library for python instead a stand alone application.
I tried to install (compile) Shedskin, but it fails as I have not enough rights. even when I do it as fakreroot, it tells me that I have not enough rights:
[CODE]
[sbox-FREMANTLE_X86: ~/MyDocs/shedskin-0.6] > fakeroot
sh-2.05b#
sh-2.05b# cd MyDocs/shedskin-0.6/
sh-2.05b# python setup.py install
/scratchbox/tools/lib/python2.3/distutils/dist.py:227: UserWarning: Unknown distribution option: 'package_data'
warnings.warn(msg)
running install
running build
running build_py
running build_scripts
running install_lib
creating /scratchbox/tools/lib/python2.3/site-packages/shedskin
error: could not create '/scratchbox/tools/lib/python2.3/site-packages/shedskin': Permission denied

sh-2.05b# whoami
root
[/CODE

I guess there is also a (better) way than using shedskin, but I am confused with all the information I find in the internet.
My laziness has kept me from learning to use the sdk/autobuilder for compiled apps so I won't be able to help there. The nice think about shedskin is it creates cross-platform C++ so it would be the best choice. If you can't get shedskin running on the autobuilderp, oh wel., not a big deal.

The alternative is to write in C directly and use ctypes.
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog