Reply
Thread Tools
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#11
Thanks megabyte405!

That makes sense; I did not delete the 002 file until I had already extracted the VM.

You sound like someone who uses that VM?

Steve
__________________
my estimated current noob level:
<helpless>......«•».............<all-powerful>
"Who is John Galt?"
 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#12
Yep - well, I've used the previous versions, haven't gotten the new one yet. I've found it was way simpler than trying to get scratchbox going myself (especially since I'm on an AMD64 arch box.) The hardest part of using it is keeping track of where you are (Xubuntu, scratchbox/x86, scratchbox/armel, and what ITOS release) and then trying to explain that in instructions
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#13
Mega;

So; have you tried to update the scratchbox/toolchain to maemo 4.1 yet? I'm wondering if I can just blindly follow the docs, and if it will coexist with the Chinook version that came with the VM.

Steve
 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#14
Not yet - I'm currently doing a Google Summer of Code project that isn't Maemo-related, so I'm lacking time. I will probably just wait until there is a new vm released or I'll use the Maemo Extras autobuilder and push the same package to both chinook and diablo.
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#15
I'm blindly following the 4.1 scratchbox install and it seems to be working perfectly!

Code:
WARNING: The following packages cannot be authenticated!
  scratchbox-libs scratchbox-core scratchbox-devkit-cputransp
  scratchbox-devkit-debian scratchbox-devkit-doctools scratchbox-devkit-maemo3
  scratchbox-toolchain-host-gcc
Get:1 http://scratchbox.org apophis-r4/main scratchbox-libs 1.0.10 [14.2MB]
Get:2 http://scratchbox.org apophis-r4/main scratchbox-core 1.0.10 [49.9MB]    
Get:3 http://scratchbox.org apophis-r4/main scratchbox-devkit-cputransp 1.0.7 [23.5MB]
Get:4 http://scratchbox.org apophis-r4/main scratchbox-devkit-debian 1.0.10 [9751kB]
Get:5 http://scratchbox.org apophis-r4/main scratchbox-devkit-doctools 1.0.8 [139MB]
I'll let you know how it goes.

Found this link:
http://maemovmware.garage.maemo.org/


Steve
__________________
my estimated current noob level:
<helpless>......«•».............<all-powerful>
"Who is John Galt?"
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#16
The Install completed! Whoo-hoo!

Code:
Installation was successful!
----------------------------

You now have Scratchbox 1.0.8 '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/

maemo@maemo:~/scripts$
Now to figure out how to use the durn thing.

Steve
__________________
my estimated current noob level:
<helpless>......«•».............<all-powerful>
"Who is John Galt?"
 
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#17
Well...

Some things are working:

Code:
[sbox-STC-target1: ~/hello-world] > make
make  all-am
make[1]: Entering directory `/home/maemo/hello-world'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
gcc  -g -O2   -o hello  main.o  
make[1]: Leaving directory `/home/maemo/hello-world'
[sbox-STC-target1: ~/hello-world] > file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
[sbox-STC-target1: ~/hello-world] > ./hello
Hello World!
[sbox-STC-target1: ~/hello-world] >

But, when I try to install the SDK, it complains that the toolchains are not installed - puzzling, because the scratchbox auto-install completed with no errors:

Code:
maemo@maemo:~/scripts$ sh maemo-sdk-install_4.1.sh
This script will install maemo SDK 4.1 diablo release to your computer.

Install options
Do not download or install Nokia EUSA binaries (no)
Force remove of existing targets (no)
Alternative sources.list ('')

Target configuration for armel (DIABLO_ARMEL)
compiler=cs2005q3.2-glibc2.5-arm
devkits=perl:debian-etch:maemo3-tools:cputransp
cputransp=qemu-arm-0.8.2-sb2

Target configuration for i386 (DIABLO_X86)
compiler=cs2005q3.2-glibc2.5-i386
devkits=perl:debian-etch:maemo3-tools

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... no
E: Toolchain cs2005q3.2-glibc2.5-arm required for 'DIABLO_ARMEL' target.
E: Toolchain cs2005q3.2-glibc2.5-i386 required for 'DIABLO_X86' target.
E: Please complete scratchbox installation first.
E: Specify an alternative installation path using '-s PATH' option.
maemo@maemo:~/scripts$
Any suggestions about the toolchain problem most welcome!

Thanks,

Steve
__________________
my estimated current noob level:
<helpless>......«•».............<all-powerful>
"Who is John Galt?"
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:57.