Editing Maemo SDK+ installation on Debian (AMD64)
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
All steps in this section are executed as root, directly on the host. | All steps in this section are executed as root, directly on the host. | ||
- | |||
# aptitude install debootstrap | # aptitude install debootstrap | ||
- | # debootstrap --arch i386 lenny /srv/lenny-ia32 | + | # debootstrap --arch i386 lenny /srv/lenny-ia32 http://ftp.debian.org/debian/ |
- | # echo "deb | + | # echo "deb http://maemo-sdk.garage.maemo.org/download/host debian-lenny free" >> /srv/lenny-ia32/etc/apt/sources.list |
# aptitude install schroot | # aptitude install schroot | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<s># cat >> /etc/schroot/schroot.conf <<EOF | <s># cat >> /etc/schroot/schroot.conf <<EOF | ||
[lenny] | [lenny] | ||
Line 50: | Line 42: | ||
# chroot /srv/lenny-ia32/ /bin/bash | # chroot /srv/lenny-ia32/ /bin/bash | ||
(lenny)/ # | (lenny)/ # | ||
- | |||
You are now logged in as root in the chrooted environment as ''root''. | You are now logged in as root in the chrooted environment as ''root''. | ||
(lenny)~ # aptitude update | (lenny)~ # aptitude update | ||
(lenny)~ # aptitude install maemo-sdk | (lenny)~ # aptitude install maemo-sdk | ||
- | |||
(lenny)~ # maemo-sdk list available tools | (lenny)~ # maemo-sdk list available tools | ||
etch | etch | ||
etch-2008 | etch-2008 | ||
lenny-2009-1 | lenny-2009-1 | ||
- | + | (lenny)~ # maemo-sdk install tools lenny-2009-1 | |
- | + | ||
- | (lenny)~ # maemo-sdk | + | |
- | + | ||
(lenny)~ # maemo-sdk list available toolchains | (lenny)~ # maemo-sdk list available toolchains | ||
arm-2005q3 | arm-2005q3 | ||
arm-2007q3 | arm-2007q3 | ||
i386-2007q3 | i386-2007q3 | ||
- | + | (lenny)~ # maemo-sdk install toolchain arm-2005q3 | |
- | + | Apparently, you'll need to use arm-2007q3 instead if you are no longer using diablo. | |
(lenny)~ # maemo-sdk install toolchain arm-2007q3 | (lenny)~ # maemo-sdk install toolchain arm-2007q3 | ||
- | |||
As the SDK needs to use sudo to gain root access later, we need to configure sudo: | As the SDK needs to use sudo to gain root access later, we need to configure sudo: | ||
(lenny)~ # visudo | (lenny)~ # visudo | ||
Line 120: | Line 106: | ||
(lenny)~ $ cd ~/src/mytest | (lenny)~ $ cd ~/src/mytest | ||
(lenny)~/src/mytest $ sb2 -eR apt-get update | (lenny)~/src/mytest $ sb2 -eR apt-get update | ||
- | |||
(lenny)~/src/mytest $ sb2 apt-get source maemopad | (lenny)~/src/mytest $ sb2 apt-get source maemopad | ||
- | (lenny)~/src/mytest $ cd maemopad-2. | + | (lenny)~/src/mytest $ cd maemopad-2.4 |
- | (lenny)~/src/mytest/maemopad-2. | + | (lenny)~/src/mytest/maemopad-2.4 $ export SBOX_REDIRECT_FORCE=/usr/bin/perl |
- | (lenny)~/src/mytest/maemopad-2. | + | (lenny)~/src/mytest/maemopad-2.4 $ sb2 dpkg-buildpackage -rfakeroot -d -b |
===Running Maemopad=== | ===Running Maemopad=== | ||
Line 133: | Line 118: | ||
(lenny)~ $ export DISPLAY=:2 | (lenny)~ $ export DISPLAY=:2 | ||
(lenny)~ $ cd ~/src/mytest/ | (lenny)~ $ cd ~/src/mytest/ | ||
- | (lenny)~/src/mytest $ sb2 -eR dpkg -i maemopad_2. | + | (lenny)~/src/mytest $ sb2 -eR dpkg -i maemopad_2.4_armel.deb |
(lenny)~/src/mytest $ maemo-sdk start gui | (lenny)~/src/mytest $ maemo-sdk start gui | ||
<s>Notice that Maemopad appears in the x11 window.</s><br /> | <s>Notice that Maemopad appears in the x11 window.</s><br /> |
Learn more about Contributing to the wiki.