On Thu, Jun 05, 2008 at 03:46:28PM +0000, Hendrik Boom wrote: > I'm following the instructions in > http://inz.fi/blog/2007/10/22/multi-target-development-for-maemo/ > as advised by Graham Cobb, and have run into a snag.
Been there, done that, have a working scratchbox. (Actually, two, because http://maemo-sdk.garage.maemo.org/install.html also worked for me, and seems a bit simpler to set up. It's not the official way though, and it's an early alpha version, so beware.) > When I get to the point of creating the bora rootstrap, it tells me: > > [EMAIL PROTECTED]:~$ sb-conf rs mistral-armel > /scratchbox/packages/mistral-armel-rootstrap.tgz > ERROR: You don't have a Scratchbox user account! You need to run sudo /scratchbox/sbin/sbox_adduser $USER you'll get prompted whether you want to add $USER to group 'sbox'; answer yes and then log out/log back in, or run the following commands in a subshell spawned by 'newgrp sbox'. The 'su - $USER' trick might also work; I hadn't known about it, but it makes sense. > One relevant point: The instructions said, "when it asks for users to add > to scratchbox, just choose your user (and whomever might want to do > scratchbox development on the box)." But it has never asked for users. Perhaps your debconf priority is set to a high level, so you don't get asked unimportant questions like that ;-) > How do I fix this up after the fact? With sbox_adduser. By the way, if you run a recent distro with a recent kernel, you'll get other problems in the future. Errors like "Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!" are fixed by echo 0 | sudo tee /proc/sys/vm/vdso_enabled and "mmap: Permission denied" is fixed by echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr HTH, Marius Gedminas -- ultimate_answer_t deep_thought(void) { sleep(years2secs(7500000)); return 42; } -- ConceptJunkie on Slashdot
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers