Reply
Thread Tools
Posts: 99 | Thanked: 8 times | Joined on Aug 2007 @ Washington, DC
#1
Can someone point me out the link where I can get the image for VMWare for compiling sources fro my N800?

thanks,
Asim
 
R-R's Avatar
Posts: 739 | Thanked: 242 times | Joined on Sep 2007 @ Montreal
#2
i wish there was a huge tar ball you could just use... trying to setup maemo 3.2 SDK the other day failed from this guide:
http://www.internettablettalk.com/wi..._on_Scratchbox
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#3
I used ubuntu CD (I assume any deb based distro would work) and installed to a local disk, booted from local disk, and ran these two scripts

created a user named user (29999) in group users (29999)

As root run
maemo-scratchbox-install_3.1.sh -d

there is a scratchbox command to add the user named user

as user run
maemo-sdk-install_3.1.sh

I don't know where I got the scripts from, search google thats what I did.

This will install everything you need and setup everything


once your up and running scratchbox as user, run
sb-conf select SDK_ARMEL

now download your source and your off
 
hczim's Avatar
Posts: 13 | Thanked: 0 times | Joined on Jan 2006
#4
I'd also suggest to set up your own environment.

At last, scratchbox installation and its first steps are well-documented. And a linux installation isn't a demanding task (no matter if into a VM or on real machine) in any way, even for a non-developer.

I don't think that not doing your own installation saves you anything at all in the long run. To me, installing it seems the logical introduction into whatever real work you want to do with it. You'll need some basic knowledge about scratchbox's inner working and Linux anyway. Not getting it now will just lead to having to learn it later the hard way.

As a bonus, you get a system that's up to date and tailored to fit your needs.
 
BruceL's Avatar
Posts: 305 | Thanked: 154 times | Joined on Aug 2006 @ Colorado
#5
Penguin and hczim,
The point isn't that installing scratchbox is so hard; I've done it several times.
I want to have the N800 as my only device. I don't want to go home and pull out my old laptop every time I want to play with source code.

I'm working on this but I haven't gotten several key pieces to work.
Surely someone, from Nokia if nowhere else, can provide a tarball, a script, or even a few good hints.

I've got plenty of space on an ext2 partition. How can I build on the device?

Bruce
 
hczim's Avatar
Posts: 13 | Thanked: 0 times | Joined on Jan 2006
#6
Originally Posted by BruceL View Post
Penguin and hczim,
The point isn't that installing scratchbox is so hard; I've done it several times.
I want to have the N800 as my only device. I don't want to go home and pull out my old laptop every time I want to play with source code.

Maybe I missed your point. But I still don't see it. You've asked for scratchbox (running inside a pre-configured VM). What exactly is the point in asking for them if you're going to do all your work natively on an N800? Just curious.
 
R-R's Avatar
Posts: 739 | Thanked: 242 times | Joined on Sep 2007 @ Montreal
#7
that's what i get at the step for running this command from the tutorial i posted below, any ideas what's up with the version?
------------------------------------------------------------------------------------------
>./maemo-sdk-install_3.1.sh
This script will install maemo SDK 3.1 'bora' 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 (SDK_ARMEL)
compiler=cs2005q3.2-glibc-arm
devkits=perl:debian-sarge:maemo3-debian:maemo3-tools:cputransp
cputransp=qemu-arm-0.8.2-sb2

Target configuration for i386 (SDK_X86)
compiler=cs2005q3.2-glibc-i386
devkits=perl:debian-sarge:maemo3-debian:maemo3-tools:doctools

Checking for prerequisites
--------------------------

Which wget tool in path...
Running outside of scratchbox...
Script not run as user root...
Scratchbox installation found...
Scratchbox home directory...
Scratchbox sb-conf tool...
Scratchbox users bind mount...
Scratchbox users /dev set up...
Scratchbox home directory...
Scratchbox login...
Scratchbox login executable...
Scratchbox sb-conf tool execute...
Scratchbox version requirement...
E: Scratchbox version is too old (scratchbox-core ).
E: The minimum required scratchbox-core version is 0.0.0.
E: Please refer to http://scratchbox.org/
E: Specify an alternative installation path using '-s PATH' option.
 
hczim's Avatar
Posts: 13 | Thanked: 0 times | Joined on Jan 2006
#8
Originally Posted by R-R View Post
Scratchbox installation found...
[...]
E: Scratchbox version is too old (scratchbox-core ).
E: The minimum required scratchbox-core version is 0.0.0.
E: Please refer to http://scratchbox.org/
E: Specify an alternative installation path using '-s PATH' option.

To me (not knowing the script), the message seems quite clear, the only odd thing being the minimum version number. Did you check if there's another version of scrachbox on your computer or did you try to install to a different path?
 
hczim's Avatar
Posts: 13 | Thanked: 0 times | Joined on Jan 2006
#9
Another thing that may be the reason ...

Does

/scratchbox/login

work? If not and it reports assertion failures, you should upgrade to a kernel with COMPAT_VDSO enabled. I remember some problems with using Ubuntu Feisty alpha kernels in this respect.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:14.