<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
A couple of things that might be relevant.<BR>
<BR>
1. After installing scratchbox, you have to log out and come back in. It's not sufficient to go to a new window! Reason is, the group accounting isn't fully propagated on a dynamic basis (as it rarely changes). The install has created a new group, 'sbox', and enrolled you as a member, but until you login again you're not actually eligible..<BR>
(I made this mistake)<BR>
<BR>
2. Scratchbox uses "chroot" which can really confuse your view of the world! When you're inside scratchbox, you'll see a /home directory, but that (on my system) is really at /scratchbox/users/me/home ..<BR>
I've not yet discovered a way "out" of the scratchbox environment (to see my "real" files). I have found it helpful to set up a link the other way, thus on my machine ~/sb is a symbolic link to the sbox home directory mentioned above. This is helpful in making up copies of the source tree, for instance.<BR>
<BR>
<BR>
(I'm working on a CentOS (RedHat) system)<BR>
<BR>
Good luck.<BR>
<BR>
David Levine<BR>
<BR>
<BR>
On Mon, 2007-07-09 at 12:41 -0700, Sean Bouchard wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hi, all. Just got an N800 and I'd like to do some development on it, but</FONT>
<FONT COLOR="#000000">I'm having trouble getting started. I'm trying to install Scratchbox on</FONT>
<FONT COLOR="#000000">an Ubuntu Feisty Fawn machine, but I keep getting stuck. Any help would</FONT>
<FONT COLOR="#000000">be appreciated!</FONT>
<FONT COLOR="#000000">I've found a couple guides that I've tried to follow, most recently one</FONT>
<FONT COLOR="#000000">by Ian Lawrance</FONT>
<FONT COLOR="#000000">(<A HREF="http://ianlawrence.info/random-stuff/maemo-3-1-bora-on-ubuntu-feisty">http://ianlawrence.info/random-stuff/maemo-3-1-bora-on-ubuntu-feisty</A> ).</FONT>
<FONT COLOR="#000000">The install goes smoothly until I have to add a user to Scratchbox, and</FONT>
<FONT COLOR="#000000">then it falls apart. When I try to run "/scratchbox/sbin/sbox_adduser</FONT>
<FONT COLOR="#000000">bouchard yes" I get an error: "chown: 'bouchard:domain': invalid group",</FONT>
<FONT COLOR="#000000">which doesn't mean anything to me. Despite this, it says that the user</FONT>
<FONT COLOR="#000000">account has been added, but when I try to run maemo-sdk-install_3.1.sh,</FONT>
<FONT COLOR="#000000">I get the following error:</FONT>
<FONT COLOR="#000000">E: Scratchbox home directory '/scratchbox/users/bouchard/home/bouchard'</FONT>
<FONT COLOR="#000000">not found.</FONT>
<FONT COLOR="#000000">E: Add user with '/scratchbox/sbin/sbox_adduser bouchard'.</FONT>
<FONT COLOR="#000000">If I run sbox_adduser again, it tells me that the user account already</FONT>
<FONT COLOR="#000000">exists.</FONT>
<FONT COLOR="#000000">Is it supposed to be looking for "home/bouchard/" in "users/bouchard/"?</FONT>
<FONT COLOR="#000000">There is no "/scratchbox/home/" directory, which is what I would have</FONT>
<FONT COLOR="#000000">expected. Does that "chown" error above mean anything, and could it be</FONT>
<FONT COLOR="#000000">related?</FONT>
<FONT COLOR="#000000">As I said, any help would be greatly appreciated. I haven't been able to</FONT>
<FONT COLOR="#000000">find accounts of this error anywhere online, so if anyone has any ideas,</FONT>
<FONT COLOR="#000000">please let me know!</FONT>
<FONT COLOR="#000000">Thanks!</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">maemo-developers mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</A></FONT>
<FONT COLOR="#000000"><A HREF="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>