Installing Maemo on Ubuntu

  • March, 25 2008
  • triplem
  • Linux

Hello,

currently I am interested in the Maemo Development Environment for the Nokia N800 devices. Since I am using an Ubuntu distribution, I though it is quite easy to install.

As a first step, download the needed scripts from the Maemo.org (http://repository.maemo.org/stable/chinook/) site (download the -scratchbox-* and the -sdk-* files). Then take a close look into the Install.txt in the same directory. The Installation went pretty smoothly until I wanted to start scratchbox. There I got the error:

ERROR: '/opt/scratchbox/sbin/chroot-uid' is not suid ROOT

which can easily resolved through

$sudo chmod u+s /opt/scratchbox/sbin/chroot-uid<br />

After this I ran into another problem with

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso’ failed!<br />

I browsed the internet and stumbled across the following solution (found here:

su
echo 0 > /proc/sys/vm/vdso_enabled
exit

Since I am running Ubuntu, I cannot change to a super-user and have to use sudo instead. Therefor the command must be used in the following way:

sudo echo 0 | sudo tee -a /proc/sys/vm/vdso_enabled

Furthermore, I stumbled across the error, that Scratchbox devkit perl was not found. Just make an

sudo apt-get remove scratchbox-devkit-perl
sudo apt-get install scratchbox-devkit-perl

Now the whole sdk-Install should run through.

Search

    confused thoughts from a confused mind