[maemo-developers] Scratchbox for Chinook

From: Dr. Nicholas Shaw Doc at DocHarley.com
Date: Tue Aug 5 21:33:28 EEST 2008
Ok (I’m a glutton for punishment…), I received the new computer and installed Debian, C, C++, sqlite3, etc.  I then went to the maemo.org site and ran the install script for the Chinook scratchbox.  It installed.  I logged out, then back in and ran ‘/scratchbox/login’.  It worked.

I then ran ‘sb-menu’ and went through the process of testing the installation by compiling hello world.  Here is what the screens say I should have and here is what I have.  I’m open to any suggestions on how to correct:

1. SELECT COMPILER
	a. Example Screen:
		i. Host-gcc					host
		ii. Arm-gcc-3.3.4-glibc-2.3.2		cross
		iii. ….-gcc-… (different chipsets)	cross
	b. My Screen:
		i. Cs2005q3.2-glibc2.5-arm		cross (I selected this)
		ii. …-i386					cross
		iii. Host-gcc				host (I don’t appear to have a cross compiler)
2. SELECT DEVKITS
	a. Example Screen: (example states to select DONE)
		i. Doctools
		ii. Debian
		iii. Perl
	b. My Screen:
		i. Cputransp
		ii. Debian-etch
		iii. Debian-lenny
		iv. Debian-sarge
		v. Doctools
		vi. Maemo3-debian
		vii. Maemo3-tools
3. SELECT CPU-TRANSPARENCY METHOD
	a. Example Screen:
		i. Qemu-arm					Emulation (select this)
		ii. Qemu-ppc				Emulation
		iii. Qemu-sparc				Emulation
		iv. Sbrsh					Remote execution
		v. none
	b. My Screen:
		i. none
4. INSTALL FILES TO TARGET
	a. Example Screen:
		i. C-library				Install libc				selected
		ii. /etc					Install passwd, group, mtab, etc.	selected
		iii. Devkits				Install files which devkits provide	selected
		iv. Fakeroot				Install libfakeroot			selected
	b. My Screen:
		i. C-library				Install libc and related binaries	selected
		ii. /etc					Install passwd, group, mtab, etc.	selected
		iii. Devkits				Install files needed by devkits	selected
		iv. Fakeroot				Install fakeroot 1.4.2			selected
		v. Gdb					Install gdb 6.4.90.dfsg
		vi. Strace					Install strace 4.5.14

As you can see, what I have installed is not what the example shows.  Now I realize that the example may not be specific to maemo but the test compile of hello-world should work.  Since it doesn’t, and since my files don’t match and the test says there’s no compiler, I’m at a loss as to what to do next.  I don’t have a lot of time to spend tracking the issue down and I’ve done this several times now.

Soooooo, does anyone have any recommendations that might help me get the scratchbox to work correctly? ☺
In advance – THANKS!

Nick.




More information about the maemo-developers mailing list