Active Topics

 


Reply
Thread Tools
Posts: 41 | Thanked: 4 times | Joined on Apr 2010
#1
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 ;-)
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#2
Add vdso32=0 to kernel parameters.

Last edited by MohammadAG; 2010-07-20 at 23:21.
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#3
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.
 

The Following User Says Thank You to javispedro For This Useful Post:
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#4
I was under the impression that Scratchbox only works with a 32bit OS.
 
Posts: 53 | Thanked: 20 times | Joined on Jan 2010
#5
Is this still the case? Am I still unable to get scratchbox running on 64-bit Ubuntu?
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#6
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
 

The Following User Says Thank You to mr id For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:52.