Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    How-to install scratchbox on ubuntu 10.04 64 bits ?

    Reply
    phpman | # 1 | 2010-07-20, 18:00 | Report

    I'd like to make some development for N900.

    I tried to install scratchbox the graphical way :
    sudo ./maemo-sdk-install-wizard_5.0.py

    It works until 30%, then I get an error :

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

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

    So, I try to run sb-menu
    Traceback (most recent call last):
    File "/usr/bin/sb-menu", line 10, in <module>
    os.execv(chroot,[chroot,p.basename(sys.argv[0])]+sys.argv[1:])
    OSError: [Errno 13] Permission denied

    sudo sb-menu
    [sudo] password for delafond:
    ERROR: Not allowed to run this as root!

    All information will be received with pleaure ;-)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    MohammadAG | # 2 | 2010-07-20, 19:23 | Report

    Add vdso32=0 to kernel parameters.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by MohammadAG; 2010-07-20 at 23:21.

     
    javispedro | # 3 | 2010-07-20, 19:30 | Report

    Originally Posted by MohammadAG View Post
    Add vdso32=0 to kernel parameters.
    Don't, that's fixed in recent scratchbox versions ("Hathor"), or use http://depot.javispedro.com/nit/sbox/ . vdso32=0 might introduce performance problems in 32 bit apps.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to javispedro For This Useful Post:
    MohammadAG

     
    Slocan | # 4 | 2010-07-21, 22:45 | Report

    I was under the impression that Scratchbox only works with a 32bit OS.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tremby | # 5 | 2011-04-14, 09:45 | Report

    Is this still the case? Am I still unable to get scratchbox running on 64-bit Ubuntu?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    mr id | # 6 | 2011-04-14, 10:04 | Report

    Originally Posted by tremby View Post
    Is this still the case? Am I still unable to get scratchbox running on 64-bit Ubuntu?
    I have scratchbox running on 64-bit Ubuntu (10.10) and have done installs on various 64bit ubuntu for the last 18 months all end up working just great.

    The installation guide ( http://wiki.maemo.org/Documentation/...K_Installation ) may be slightly out of date as there a few minor differences:

    needing to set vdso32=0 as a boot line instead of the quoted sysctl entry

    If you have a problem with missing terminals in Scratchbox (switching targets etc) see:
    http://www.terabyteunlimited.com/kb/article.php?id=454

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to mr id For This Useful Post:
    Sourav.dubey

     
vBulletin® Version 3.8.8
Normal Logout