[maemo-developers] problem starting Maemo UI in X window

From: Miko Nieminen miko.nieminen at gmail.com
Date: Tue Sep 25 15:23:43 EEST 2007
Hi,

it seems that your target isn't set up properly. You can recreate the target
like this:

Host# scratchbox
[sbox-SDK_PC: ~] sb-conf setup -c cs2005q3.2-glibc-i386 -d
perl:debian-sarge:maemo3-tools:doctools:maemo3-debian -f
[sbox-SDK_PC: ~] sb-conf rootstrap /path/to/maemo-sdk-rootstrap_3.2_i386.tgz

[sbox-SDK_PC: ~] sb-conf install -e -d -F

After this you need to fix sbox installation, because rootstraps are missing
packages. At least with the 3.1 release this was the case. You can do it by
running attached script:
[sbox-SDK_PC: ~] ~/fix-bora.sh

Now your target should work. In case of creating arm target you need to
change compiler to arm compiler, configure cpu-transparency and use correct
rootstrap:
[sbox-SDK_ARM: ~] sb-conf setup -c cs2005q3.2-glibc-arm -d
cputransp:perl:debian-sarge:maemo3-tools:doctools:maemo3-debian -t
qemu-arm-0.8.2-sb2 -f
[sbox-SDK_ARM: ~] sb-conf rootstrap
/path/to/maemo-sdk-rootstrap_3.2_armel.tgz
[sbox-SDK_ARM: ~] sb-conf install -e -d -F
[sbox-SDK_ARM: ~] ~/fix-bora.sh

Sbox is missing some information about installed binaries which causes that
build dependency to flex isn't met even though it is installed, see bug:
http://bugzilla.scratchbox.org/bugzilla/show_bug.cgi?id=310

ps. could this missing package problem be fixed in the next maemo release
(if not fixed in 3.2), that fix-bora.sh is a terrible hack and I shouldn't
need to do anything like that.



On 25/09/2007, anurag sogal <anuragsogal at gmail.com> wrote:
>
> Hi ,
>
> I have just finished installing scratchbox, mameo, and Xephyr, they are
> all workign fine , except for this problem that I am having :-
>
> when i type the following in the x-box:-
>
> [sbox-SDK_PC: ~] > export DISPLAY=:2
>
> [sbox-SDK_PC: ~] > af-sb-init.sh start
> Note: For remote X connections DISPLAY should contain hostname!
> Sample files present.
> Starting DBUS system bus
> /scratchbox/tools/bin/misc_runner: : No such file or directory
> Starting D-BUS session bus daemon
> /usr/bin/af-sb-init.sh: line 1: export: `:': not a valid identifier
> /etc/init.d/maemo-launcher: line 1: export: `:': not a valid identifier
> Starting Maemo Launcher: maemo-launcher/scratchbox/tools/bin/misc_runner:
> : No such file or directory
>  start failed.
> Starting Sapwood image server
> /scratchbox/tools/bin/misc_runner: : No such file or directory
> Starting Matchbox window manager
> /scratchbox/tools/bin/misc_runner: : No such file or directory
> Starting clipboard-manager
> /scratchbox/tools/bin/misc_runner: : No such file or directory
> Starting Keyboard
> /scratchbox/tools/bin/misc_runner: : No such file or directory
> Starting MAEMO AF Desktop
> /scratchbox/tools/bin/misc_runner: : No such file or directory
>
>
> The I get what is mentioned above. Also after getting this, the UI does
> not start in Xephyr.
>
> Please let me know how to solve the problem .
>
> Thanks
> Anurag
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>


-- 
Miko Nieminen
miko.nieminen at iki.fi
miko.nieminen at gmail.com
miko.nieminen at nomovok.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070925/b278a5a3/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-bora.sh
Type: application/x-sh
Size: 3276 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070925/b278a5a3/attachment.sh 
More information about the maemo-developers mailing list