[maemo-developers] sdk installation trouble

From: Valerio Valerio vdv100 at gmail.com
Date: Wed May 6 16:22:27 EEST 2009
Hello,

On Wed, May 6, 2009 at 2:11 PM, Frank Banul <frank.banul at gmail.com> wrote:
> Hi All,
>
> I'm trying to install the Maemo 5 SDK. Any ideas on the following error? The
> googling I did led to a maemo.org bug marked WORKSFORME. :(

Try to execute: $ /scratchbox/login
Log out scratchbox (ctrl+d or type 'exit') and execute again:  $sh
maemo-sdk-install_5.0beta.sh

HTH.

Best regards,

-- 
Valério Valério

http://www.valeriovalerio.org



>
> thanks,
> Frank
>
> user at ubuntu704desktop:~$ sudo /home/user/maemo-scratchbox-install_5.0beta.sh
> -u user
> sudo: unable to resolve host ubuntu704desktop
> This script will install Scratchbox 1.0.14 'apophis' release to your
> computer.
>
> Install options
> ---------------
>
> Install from packages=apt
> Scratchbox install path=/scratchbox
> Scratchbox group=sbox
> armel compiler=cs2007q3-glibc2.5-arm
> i386 compiler=cs2007q3-glibc2.5-
> i386
> armel devkits=apt-https:perl:debian-etch:qemu:doctools:svn:git
> i386 devkits=apt-https:perl:debian-etch:doctools:svn:git
> armel CPU transparency=qemu-arm-sb
>
> Checking for prerequisites
> --------------------------
>
> Running as user root... yes
> Not running as user root inside fakeroot... yes
> Running outside of scratchbox... yes
> Running on Linux kernel... yes
> Running on i386 architecture... yes
> Host kernel binfmt_misc support... yes
> Host kernel VDSO support... yes
> No host kernel SELinux extensions... yes
> Host kernel local IPv4 port range... yes
> Scratchbox installation not existing... yes
> No conflicting binfmt_misc interpreter... yes
> Scratchbox user names... user yes
>
> Everything seems to be ok.
> Hit http://us.archive.ubuntu.com hardy Release.gpg
> Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
>
> <SNIP some stuff to get below the size limit>
>
> Hit http://security.ubuntu.com hardy-security/multiverse Sources
> Hit http://us.archive.ubuntu.com hardy-updates/restricted Packages
> Hit http://us.archive.ubuntu.com hardy-updates/main Sources
> Hit http://us.archive.ubuntu.com hardy-updates/restricted Sources
> Ign http://scratchbox.org maemo5-sdk/main Packages
> Get:2 http://scratchbox.org maemo5-sdk/main Packages [1428B]
> Fetched 1653B in 1s (1271B/s)
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> scratchbox-devkit-debian is already the newest version.
> scratchbox-devkit-perl is already the newest version.
> Suggested packages:
>   nfs-server dialog
> The following NEW packages will be installed:
>   scratchbox-devkit-apt-https scratchbox-devkit-git scratchbox-devkit-qemu
>   scratchbox-devkit-svn scratchbox-toolchain-cs2007q3-glibc2.5-arm7
>   scratchbox-toolchain-cs2007q3-glibc2.5-i486 scratchbox-toolchain-host-gcc
> The following packages will be upgraded:
>   scratchbox-core scratchbox-devkit-doctools scratchbox-libs
> 3 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
> Need to get 425MB of archives.
> After this operation, 686MB of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
>   scratchbox-libs scratchbox-core scratchbox-devkit-qemu
>   scratchbox-devkit-apt-https scratchbox-devkit-doctools
> scratchbox-devkit-git
>   scratchbox-devkit-svn scratchbox-toolchain-cs2007q3-glibc2.5-arm7
>   scratchbox-toolchain-cs2007q3-glibc2.5-i486 scratchbox-toolchain-host-gcc
> Get:1 http://scratchbox.org maemo5-sdk/main scratchbox-libs 1.0.14 [14.3MB]
> Get:2 http://scratchbox.org maemo5-sdk/main scratchbox-core 1.0.14
> [48.1MB]
> Get:3 http://scratchbox.org maemo5-sdk/main scratchbox-devkit-qemu
> 0.10.0-0sb5 [3296kB]
> Get:4 http://scratchbox.org maemo5-sdk/main scratchbox-devkit-apt-https
> 1.0.7 [2982kB]
> Get:5 http://scratchbox.org maemo5-sdk/main scratchbox-devkit-doctools
> 1.0.11 [136MB]
> Get:6 http://scratchbox.org maemo5-sdk/main scratchbox-devkit-git 1.0.1
> [5596kB]
> Get:7 http://scratchbox.org maemo5-sdk/main scratchbox-devkit-svn 1.0
> [15.3MB]
> Get:8 http://scratchbox.org maemo5-sdk/main
> scratchbox-toolchain-cs2007q3-glibc2.5-arm7 1.0.11-8 [101MB]
> Get:9 http://scratchbox.org maemo5-sdk/main
> scratchbox-toolchain-cs2007q3-glibc2.5-i486 1.0.11-6 [93.7MB]
> Get:10 http://scratchbox.org maemo5-sdk/main scratchbox-toolchain-host-gcc
> 1.0.14 [4356kB]
> Fetched 425MB in 20min33s
> (345kB/s)
> Preconfiguring packages ...
> (Reading database ... 217480 files and directories currently installed.)
> Preparing to replace scratchbox-libs 1.0.10 (using
> .../scratchbox-libs_1.0.14_i386.deb) ...
> Unpacking replacement scratchbox-libs ...
> Preparing to replace scratchbox-core 1.0.10 (using
> .../scratchbox-core_1.0.14_i386.deb) ...
> Unpacking replacement scratchbox-core ...
> Selecting previously deselected package scratchbox-devkit-qemu.
> Unpacking scratchbox-devkit-qemu (from
> .../scratchbox-devkit-qemu_0.10.0-0sb5_i386.deb) ...
> Selecting previously deselected package scratchbox-devkit-apt-https.
> Unpacking scratchbox-devkit-apt-https (from
> .../scratchbox-devkit-apt-https_1.0.7_i386.deb) ...
> Preparing to replace scratchbox-devkit-doctools 1.0.8 (using
> .../scratchbox-devkit-doctools_1.0.11_i386.deb) ...
> Unpacking replacement scratchbox-devkit-doctools ...
> Selecting previously deselected package scratchbox-devkit-git.
> Unpacking scratchbox-devkit-git (from
> .../scratchbox-devkit-git_1.0.1_i386.deb) ...
> Selecting previously deselected package scratchbox-devkit-svn.
> Unpacking scratchbox-devkit-svn (from
> .../scratchbox-devkit-svn_1.0_i386.deb) ...
> Selecting previously deselected package
> scratchbox-toolchain-cs2007q3-glibc2.5-arm7.
> Unpacking scratchbox-toolchain-cs2007q3-glibc2.5-arm7 (from
> .../scratchbox-toolchain-cs2007q3-glibc2.5-arm7_1.0.11-8_i386.deb) ...
> Selecting previously deselected package
> scratchbox-toolchain-cs2007q3-glibc2.5-i486.
> Unpacking scratchbox-toolchain-cs2007q3-glibc2.5-i486 (from
> .../scratchbox-toolchain-cs2007q3-glibc2.5-i486_1.0.11-6_i386.deb) ...
> Selecting previously deselected package scratchbox-toolchain-host-gcc.
> Unpacking scratchbox-toolchain-host-gcc (from
> .../scratchbox-toolchain-host-gcc_1.0.14_i386.deb) ...
> Setting up scratchbox-libs (1.0.14) ...
> Setting up scratchbox-core (1.0.14) ...
> No users were chosen, so no users were added to Scratchbox.
> Starting Scratchbox: binfmt_misc, mount.
>
> Setting up scratchbox-devkit-qemu (0.10.0-0sb5) ...
> Setting up scratchbox-devkit-apt-https (1.0.7) ...
> Setting up scratchbox-devkit-doctools (1.0.11) ...
> Setting up scratchbox-devkit-git (1.0.1) ...
> Setting up scratchbox-devkit-svn (1.0) ...
> Setting up scratchbox-toolchain-cs2007q3-glibc2.5-arm7 (1.0.11-8) ...
> Setting up scratchbox-toolchain-cs2007q3-glibc2.5-i486 (1.0.11-6) ...
> Setting up scratchbox-toolchain-host-gcc (1.0.14) ...
> Adding scratchbox user 'user'.
> Scratchbox user account for user user added
>
> Installation was successful!
> ----------------------------
>
> You now have Scratchbox 1.0.14 '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
>
> Refer to scratchbox.org documentation for more information re scratchbox:
> http://scratchbox.org/documentation/user/scratchbox-1.0/
>
> user at ubuntu704desktop:~$ newgrp sbox
> user at ubuntu704desktop:~$ sh  maemo-sdk-install_5.0beta.sh
> This script will install maemo SDK 5.0beta fremantle release to your
> computer.
>
> Install options
> Force remove of existing targets (no)
> Alternative sources.list ('')
>
> Target configuration for armel (FREMANTLE_ARMEL)
> compiler=cs2007q3-glibc2.5-arm7
> devkits=apt-https:perl:debian-etch:qemu:doctools:svn:git
> cputransp=qemu-arm-sb
>
> Target configuration for i386 (FREMANTLE_X86)
> compiler=cs2007q3-glibc2.5-i486
> devkits=apt-https:perl:debian-etch:doctools:svn:git
>
> Checking for prerequisites
> --------------------------
>
> wget tool in path... /usr/bin/wget
> Checking for dpkg tool in path... /usr/bin/dpkg
> Running outside of scratchbox... yes
> Script not run as user root... yes
> Scratchbox installation found... yes
> Scratchbox home directory... yes
> Scratchbox sb-conf tool... yes
> Scratchbox user's bind mount... yes
> Scratchbox user's /dev set up... yes
> Scratchbox home directory... yes
> Scratchbox login... yes
> Scratchbox login executable... yes
> Scratchbox sb-conf tool works... yes
> Scratchbox version requirement met... yes
> Scratchbox CPU transparency method for ARMEL is present... yes
> Scratchbox toolchains... yes
> Scratchbox required devkits... no
> E: Scratchbox devkit debian-etch not found.
> E: Please complete scratchbox installation first.
> E: Specify an alternative installation path using '-s PATH' option.
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>

More information about the maemo-developers mailing list