[maemo-developers] [maemo-developers] installer script error

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Wed Jun 1 07:30:44 EEST 2005
On 5/31/05, MetaVoid von geek <metavoid0 at gmail.com> wrote:
> Hi there,

Hi!

> To get started I read the docs saying I could run install.sh and apparently
> it would download sbox for me giving a complete
> toolbox for development & testing for the 770. (right?)

I am not familiar with the install script, but...
 
>   Im running a mini knoppix (http://www.inittab.org/lite.html) containing no
> dev tools like make or gcc.
> 
>   []Will this do or does the host have to have compilers etc?

...that's why it dies. It tries to compile stuff, including scratchbox
so it won't work without developement tools.
 
> I read the release notes (SMOKE TEST INSTRUCTIONS) saying I could download
> sbox from "blabla",
> but in that folder, I got like 4 different deb files and I dont know if I
> need them all or just the one called sboxcore?

All of them, I think. These are your best option, since with the .debs
you don't need the developement tools (AFAIK) on your system.

> In maemo.org/stable/1.0/i386/Maemo_Dev_Platform_RS_i386_relnotes.txt
> 
> It lists these steps:
> 
> 1) install Scratchbox 0.9.8.4
>  http://scratchbox.org/documentation/user/scratchbox-0.9.8/
> 
>  2) start Scratchbox
>  scratchbox
> 
>  3) create a new target
>  sbox-config -ct i386
> 
>  4) select your new target
>  sbox-config -st i386
> 
>  5) download the released rootstrap
>  wget  ...org/stable/1.0/i386/Maemo_Dev_Platform_RS_v1.0_i386.tgz
> 
>  6) install the rootstrap to your target and start hacking
>  sbox-config -er ./Maemo_Dev_Platform_RS_v1.0_i386.tgz
> 
>  7) desktop can be started with command (only with 16 bit (color depth)
> xephyr/xvnc)
>  af-sb-init.sh start
> 
> [] Is that it? If I do this Im ready to go?

Pretty much. The tutorials (and mailing lists and #maemo on freenode)
will help you from there.

> Also, whats a rootstrap? .)

Rootstrap is the tgz that includes almost complete system that you can
just extract inside your scratchbox and start hacking. The sbox-config
-er <tgz> will do this for you, and it is very recommendable to use it
since it's redicilously easy to do tar zxf <tgz> on your main system
and have it fail in funny ways and eventually die.

-- 
Kalle Vahlman, zuh at iki.fi

More information about the maemo-developers mailing list