Tuesday, August 19, 2008

Maemo DIABLO SDK install on ubuntu 8.04

I am not going through the full install but only through the problems

Before install
edit /etc/sysctl.conf and add below

'vm.vdso_enabled = 0
vm.mmap_min_addr = 4096'

now run 'sysctl -p' as root

start the maemo-scratchbox-install_4.1.sh

Once the install is successful you will get the below term output


Installation was successful!

You now have Scratchbox 1.0.8 'apophis' release installed.

Scratchbox cannot be run as user root. Instead, use your normal login
user account. Add additional scratchbox users and sandboxes with the
following command (outside scratchbox with root permissions):

# /scratchbox/sbin/sbox_adduser USER yes

Running this command will create sandbox environment for that user and
add user to the 'sbox' scratchbox user group.
You will need to start a new login terminal after being added to the
'sbox' group for group membership to be effective.

Login to scratchbox session using the following command (as user):

$ /scratchbox/login


Now add the user :

sudo /scratchbox/sbin/sbox_adduser username yes

close the terminal, start new terminal, issue "sudo chmod -R +rx /scratchbox" and " chmod +s /scrachbox/sbin"

some times you need a restart ( better to restart ). In my case i went to another problem ( solution was " chmod 777 /tmp" ).

Now back and run "bash maemo-sdk-install_4.1.sh"
If things go good, You will see a "Happy hacking! " message at the end.

No comments: