rayven @ 11-04-2008 03:43:58

Пытаюсь поставить scratchbox

Код:

root@grace:/home/users/rayven# ./download/maemo/maemo-scratchbox-install_4.0.1.sh -c -s /home/users/rayven/opt/scratchbox
This script will install Scratchbox 1.0.8 'apophis' release to your computer.

Install options
---------------

Install from packages=tgz
Scratchbox install path=/home/users/rayven/opt/scratchbox
Scratchbox group=sbox
armel compiler=cs2005q3.2-glibc2.5-arm
i386 compiler=cs2005q3.2-glibc2.5-i386
armel devkits=perl:debian-etch:maemo3-tools:cputransp
i386 devkits=perl:debian-etch:maemo3-tools
armel CPU transparency=qemu-arm-0.8.2-sb2

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

Running as user root... yes
Not running as user root inside fakeroot... yes
Running outside of scratchbox... yes
Running on Linux kernel... yes
Running on i386 architecture... yes
Host kernel binfmt_misc support... yes
Host kernel VDSO support... yes
No host kernel SELinux extensions... yes
Host kernel local IPv4 port range... yes
wget tool in path... /usr/bin/wget
Scratchbox install path is sane... yes
Scratchbox installation not existing... yes
No conflicting binfmt_misc interpreter... ./download/maemo/maemo-scratchbox-install_4.0.1.sh: line 561: [: слишком много аргументов
yes
Scratchbox user names... yes

Everything seems to be ok.
....
распаковывает пакеты
....
root@grace:/home/users/rayven# /home/users/rayven/opt/scratchbox/sbin/sbox_adduser rayven
Add user rayven to group 'sbox'? [yes/no] (yes): yes
Scratchbox user account for user rayven added
root@grace:/home/users/rayven# /home/users/rayven/opt/scratchbox/sbin/sbox_ctl start
Starting Scratchbox: binfmt_misc, mount.
root@grace:/home/users/rayven# /home/users/rayven/opt/scratchbox/login 
ERROR: Not allowed to run this as root!
root@grace:/home/users/rayven# exit
rayven@grace:~$ /home/users/rayven/opt/scratchbox/login 

You dont have active target in scratchbox chroot.
Please create one by running "sb-menu" before continuing


Welcome to Scratchbox, the cross-compilation toolkit!

Use 'sb-menu' to change your compilation target.
See /scratchbox/doc/ for documentation.

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

Вот. На этом все и заканчивается. Где грабли?

Дистрибутив Archlinux, ядро 2.6.22.1 самопсборное. glib 1.2.10, glibc 2.7.

Короче, все по инструкции, а тут такая засада.

http://scratchbox.org/documentation/use … lldoc.html   

Self-mademan @ 11-04-2008 04:19:51

Мне кажется стоит обратить на строчки
You dont have active target in scratchbox chroot.
Please create one by running "sb-menu" before continuing

rayven @ 11-04-2008 04:29:29

Код:

rayven@grace:~$ /home/users/rayven/opt/scratchbox/tools/bin/sb-menu 

You dont have active target in scratchbox chroot.
Please create one by running "sb-menu" before continuing

Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!

Та же фигня. ИМХО, проблема с версиями библиотек, только вот каких?...

rayven @ 10-05-2008 06:52:32

И сам себе отвечаю:
echo 0 > /proc/sys/vm/vdso_enabled
естественно от рута.