2008-09-29

Install Maemo Dialo Development Platform 4.1.1

The installation of the Maemo Development Platform contains: Scratchbox,Maemo SDK and Nokia binaries. These three steps can be automated by the script written by Nokia or the community.

Install Scratchbox
Use,
$ wget http://repository.maemo.org/stable/diablo/maemo-scratchbox-install_4.1.1.sh
$ chmod a+x ./maemo-scratchbox-install_4.1.1.sh
$ sudo ./maemo-scratchbox-install_4.1.1.sh
If the script comlains something about vdso_enabled or min_addr, insert the following settings into your /etc/sysctl.conf. Like,
vm.vdso_enabled = 0
vm.mmap_min_addr = 4096
net.ipv4.ip_local_port_range = 1024 65535

Then, execute,
sudo sysctl -p

Install Maemo SDK
Use,

$ wget http://repository.maemo.org/stable/diablo/maemo-sdk-install_4.1.1.sh
$ chmod u+x maemo-sdk-install_4.1.1.sh
$ sudo ./maemo-sdk-install_4.1.1.sh

Install Nokia Binaries
Use,
$ wget http://repository.maemo.org/stable/diablo/maemo-sdk-nokia-binaries_4.1.1.sh
$ chmod +x maemo-sdk-nokia-binaries_4.1.1.sh
$ sh maemo-sdk-nokia-binaries_4.1.1.sh
Then, log into Scratchbox system, execute,
$ /scratchbox/login
[sbox-DIABLO_ARMEL: ~] > fakeroot apt-get install maemo-explicit

Install Virtual X11 server (XEPHYR)
Before we can run applications from SDK, the Xephyr X11 Server has to be installed first.
$ sudo apt-get install xserver-xephyr

沒有留言:

張貼留言