[maemo-developers] bootstrapping the sdk

From: Chuck Robey chuckr at chuckr.org
Date: Thu Mar 13 03:29:07 EET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have done a rather large amount of cross-compiling, but now I'm retired,
and I would enjoy compiling for the n800, excepting that I seem to be
stuck, trying to get the scratchbox installed.  I have grabbed these
*.tar.gz's (mainly because my favorite host is FreeBSD, and my 2nd is
Gentoo Linux, so I don;'t wish to use the Debian tools, so because I feel
right at home wtih tarballs, I wantd to stay that way).

I got a copy of maemo-sdk-install_4.0beta.sh, and by reading the inside of
that, got this set of tarballs:

scratchbox-core-1.0.8-i386.tar.gz
scratchbox-devkit-cputransp-1.0.3-i386.tar.gz
scratchbox-devkit-debian-1.0.9-i386.tar.gz
scratchbox-devkit-doctools-1.0.7-i386.tar.gz
scratchbox-devkit-perl-1.0.4-i386.tar.gz
scratchbox-libs-1.0.8-i386.tar.gz
scratchbox-toolchain-cs2005q3.2-glibc2.5-arm-1.0.7.2-i386.tar.gz
scratchbox-toolchain-cs2005q3.2-glibc2.5-i386-1.0.7-i386.tar.gz


OK, I stuck all these in /opt/scratchbox, made a group sbox, ran
run_me_first.sh, then added myself as a user to sbox_adduser.  Finally, we
come to the problem, when I ran sb-menu.  After I set a NEW target to
"september", I picked the compiler, setting it to cs2005q3.2-glibc2.5-arm
(cross).

OK, listen close now, here's the problem (all the rest was giving you the
environment I might well have, somewhere, screwed up for myself).  In the
screen where I should pick the cpu-transparency method, I got nothing
whatever in the screen menu, nothing ot shoose at all.  I saw in the
documentation that "qemu" was involved, so if it's important, I did:

ls -l /opt/scratchbox/tools/bin/qemu*
- -rwxr-xr-x 1 root root 369 Aug  1  2007 /opt/scratchbox/tools/bin/qemu

I figured out this path by listing all of contents of the tarballs, and
grapping for qemu.  Maybe it's not the right one, because there were
several, and I don't know which ones count.  I did find that they were all
coming from 2 places: the qemu executable came from
scratchbox-core-1.0.8-i386.tar.gz, but there was a whole directory in
tarball scratchbox-devkit-cputransp-1.0.3-i386.tar.gz, directory
/opt/scratchbox/devkits/cputransp/bin, and here's the listing from it.

qemu                qemu-arm-0.8.1-sb2    qemu-i386
qemu-mips-0.8.1-sb2    qemu-ppc            qemu-sparc
qemu-alpha-cvs      qemu-arm-0.8.2-sb2    qemu-i386-0.7.0-sb2
qemu-mips-0.8.2-sb2    qemu-ppc-0.7.0-sb2  qemu-sparc-0.7.0-sb2
qemu-arm            qemu-arm-cvs          qemu-i386-0.8.1-sb2
qemu-mips-cvs          qemu-ppc-0.8.0-m2   qemu-sparc-0.8.1-sb2
qemu-arm-0.7.0-sb2  qemu-armeb-0.8.1-sb2  qemu-i386-0.8.2-sb2
qemu-mipsel-0.8.1-sb2  qemu-ppc-0.8.1-sb2  qemu-sparc-0.8.2-sb2
qemu-arm-0.8.0-m2   qemu-armeb-0.8.2-sb2  qemu-i386-cvs
qemu-mipsel-0.8.2-sb2  qemu-ppc-0.8.2-sb2  qemu-sparc-cvs
qemu-arm-0.8.0-sb2  qemu-armeb-cvs        qemu-m68k-cvs
qemu-mipsel-cvs        qemu-ppc-cvs        sbrsh

Can you give me any idea why sb-menu is finding me no choices for cpu
transparency?

Thanks for the help!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH2INjz62J6PPcoOkRAvaAAKCYlY++lAW2mFF6Kksf4/LXdqCfNgCgnmV8
+owtFeUG0Cqa1VmVm6XIkmw=
=dhhx
-----END PGP SIGNATURE-----

More information about the maemo-developers mailing list