Confirmed users
446
edits
MarkFinkle (talk | contribs) No edit summary |
m (formatting tweaks) |
||
| Line 8: | Line 8: | ||
############## | ############## | ||
# do the section below if on ubuntu 8.04, skip for Ubuntu 7.1. Other OS may also have this problem. If you see a problem when running nsinstall that says something "mmap - permission denied", come back here an try this. | # do the section below if on ubuntu 8.04, skip for Ubuntu 7.1. Other OS may | ||
Ubuntu 8.10 sets vm.mmap_min_addr /etc/sysctl.d/10-process-security.conf | # also have this problem. If you see a problem when running nsinstall that | ||
So it is probably better to set the following variables in | # says something "mmap - permission denied", come back here an try this. | ||
/etc/sysctl.d/40-scratchbox | # Ubuntu 8.10 sets vm.mmap_min_addr /etc/sysctl.d/10-process-security.conf | ||
and then run 'sudo invoke-rc.d procps restart' | # So it is probably better to set the following variables in | ||
# /etc/sysctl.d/40-scratchbox | |||
# and then run 'sudo invoke-rc.d procps restart' | |||
############## | ############## | ||
add the following to /etc/sysctl.conf | # add the following to /etc/sysctl.conf | ||
vm.vdso_enabled = 0 | vm.vdso_enabled = 0 | ||
| Line 44: | Line 46: | ||
-d cputransp:debian-etch:doctools:maemo3-tools:perl \ | -d cputransp:debian-etch:doctools:maemo3-tools:perl \ | ||
-t /scratchbox/devkits/cputransp/bin/qemu-arm-cvs-m | -t /scratchbox/devkits/cputransp/bin/qemu-arm-cvs-m | ||
sb-conf rootstrap CHINOOK-ARMEL-2007 http://repository.maemo.org/stable/4.0.1/armel/maemo-sdk-rootstrap_4.0.1_armel.tgz | sb-conf rootstrap CHINOOK-ARMEL-2007 \ | ||
http://repository.maemo.org/stable/4.0.1/armel/maemo-sdk-rootstrap_4.0.1_armel.tgz | |||
sb-conf install CHINOOK-ARMEL-2007 -cedFGS | sb-conf install CHINOOK-ARMEL-2007 -cedFGS | ||
sb-conf select CHINOOK-ARMEL-2007 | sb-conf select CHINOOK-ARMEL-2007 | ||
| Line 56: | Line 59: | ||
fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.0.1 chinook explicit" >> /etc/apt/sources.list | fakeroot echo "deb file:/home/$USER/maemo-sdk-nokia-binaries_4.0.1 chinook explicit" >> /etc/apt/sources.list | ||
yes | fakeroot apt-get update | yes | fakeroot apt-get update | ||
yes | fakeroot apt-get install libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev libhildonmime-dev libosso-dev libidl-dev liblocation-dev libasound2-dev libhildon1-dev libiw-dev | yes | fakeroot apt-get install \ | ||
libgtk2.0-dev libxaw7-dev libfreetype6-dev libxi-dev \ | |||
libhildonmime-dev libosso-dev libidl-dev liblocation-dev \ | |||
libasound2-dev libhildon1-dev libiw-dev | |||