Chinook 4.0.1 SDK Environment: Funky installation.

Today i’ve installed Chinook Environment on KUbuntu Hardy using the scripts: scratchbox installer and sdk installer.
The script runs fine but there are some issue such as:
MMAP ERROR
Setting up sudo (1.6.8p12-4osso7) ...
Updating sudoers
mmap: Permission denied
Solved running
echo 4096 > /proc/sys/vm/mmap_min_addr and so apt-get install -f
MESSAGEBUS INVALID USER ERROR
Setting up gconf2 (2.16.0-1osso9) ...
/scratchbox/tools/bin/chown: `messagebus:messagebus': invalid user
Soved with:
cd /var/cache/apt/archives
fakeroot dpkg -i *dbus*
DPKG-PRECONFIGURE NOT AVAILABLE
Usually this file is in the debconf package. But the Maemo debconf doesn’t have got it! O_o
The error message is:
/scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such file or directory
I’ve solved it copying this file from my host to scratchbox environment.
cp /usr/sbin/dpkg-preconfigure /scratchbox/users/gnuton/targets/CHINOOK_ARMEL/usr/sbin
So i’ve runned again apt-get install -f and now i’ve my working (?) SDK Env.
That’s all! Happy installation to you! :)

Leave a Reply

Your email address will not be published. Required fields are marked *