Maemo Howto
From BluWiki
This is a brief tutorial that explains how to setup the Maemo 4.1 (Diablo) SDK in a distribution agnostic way. For more information check homepage, installation instructions, and reference manual.
Contents
Scratchbox
If you don't need a proxy, remove the 'export http_proxy' commands. This would install scratchbox on '/opt/scratchbox'. Remember to change your username.
export http_proxy=http://myproxy:8080/ wget http://repository.maemo.org/stable/diablo/maemo-scratchbox-install_4.1.sh chmod a+x ./maemo-scratchbox-install_4.1.sh su export http_proxy=http://myproxy:8080/ ./maemo-scratchbox-install_4.1.sh -s /opt/scratchbox -u felipec exit
Maemo SDK
Then it's time to install Maemo 4.1:
wget http://repository.maemo.org/stable/diablo/maemo-sdk-install_4.1.sh chmod a+x ./maemo-sdk-install_4.1.sh ./maemo-sdk-install_4.1.sh -s /opt/scratchbox
Usage
Now in order to init scratchbox:
su /opt/scratchbox/sbin/sbox_ctl start exit
And to log-in:
/opt/scratchbox/login
Remember to de-init scratchbox before rebooting and specially before removing '/opt/scratchbox':
su /opt/scratchbox/sbin/sbox_ctl stop exit
Notes
You might get an error like:
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
In that case run the following:
su echo 0 > /proc/sys/vm/vdso_enabled exit
For more information regarding vdso issues please check scratchbox's wiki.