Hi all, I have downloaded scractchbox-core/libs/toolchain . According installation instructions I extracted those tarballs into /. So all extracted files comes in /scratchbox. Then I ran run_me_first.
[root@localhost scratchbox]# /scratchbox/run_me_first.sh Do you want to use sudo mode? [yes/no] (no): Give the name of the scratchbox group (sbox): No such group! The group 'sbox' does not seem to exist! Would you like me to create the group 'sbox' for you? [yes/no] (yes): yes No such group! Creating group "sbox"... cp: cannot stat `/etc/hostname': No such file or directory Stopping Scratchbox: umount, mount: none already mounted or /proc/sys/fs/binfmt_misc busy mount: according to mtab, none is already mounted on /proc/sys/fs/binfmt_misc binfmt_misc. Starting Scratchbox: binfmt_misc, mount.
Now you should add one or more users with /scratchbox/sbin/sbox_adduser [root@localhost scratchbox]# /scratchbox/sbin/sbox_adduser user sbox=yes Scratchbox user account for user user added [root@localhost root]# su - user -bash: modprobe: command not found [user@localhost user]$ groups [user@localhost user]$ cd /scratchbox/ [user@localhost scratchbox]$ ./login
Welcome to Scratchbox, the cross-compilation toolkit!
Use 'sb-menu' to change your compilation target. See /scratchbox/doc/ for documentation.
ERROR: Operation not permitted chroot(/scratchbox/users/user) [user@localhost scratchbox]$
Can Anyone tell me how to resolve this problem. Because I want the prompt of scratchbox, to carry out cross-compilation. However it error looks very logical even how a user can chroot to /scratchbox/users/user
Thanks in advance.
-- ...Swapnil
Hi,
----- On 9/18/07, swapnil kamble swap.kamble@gmail.com wrote: | According | installation instructions --
From where? Provide the URL.
----- | [root@localhost scratchbox]# /scratchbox/run_me_first.sh --
Do you need to run it as root?
----- | [root@localhost root]# su - user --
Why su when you are already root?
----- | Can Anyone tell me how to resolve this problem. Because I want the | prompt of scratchbox, to carry out cross-compilation. --
You didn't mention which distro you were using.
For reference: http://free-opensource.qvantel.net/mediawiki/index.php/Maemo_Build_Debian
SK
From where? Provide the URL.
http://www.scratchbox.org/documentation/docbook/0.9.8/installdoc.html
| [root@localhost scratchbox]# /scratchbox/run_me_first.sh --
Do you need to run it as root?
Yes, otherwise file lock error comes.
| [root@localhost root]# su - user --
Why su when you are already root?
As new user in scratchbox is created, so first I have log into that user , then I ran
[user@localhost scratchbox]$ ./login
Welcome to Scratchbox, the cross-compilation toolkit!
Use 'sb-menu' to change your compilation target. See /scratchbox/doc/ for documentation.
ERROR: Operation not permitted chroot(/scratchbox/users/user) [user@localhost scratchbox]$
| Can Anyone tell me how to resolve this problem. Because I want the | prompt of scratchbox, to carry out cross-compilation. --
You didn't mention which distro you were using.
Fedora Core 3
For reference: http://free-opensource.qvantel.net/mediawiki/index.php/Maemo_Build_Debian
SK
-- Shakthi Kannan http://www.shakthimaan.com
Hi,
----- On 9/18/07, swapnil kamble swap.kamble@gmail.com wrote: | As new user in scratchbox is created, so first I have log into that user , | then I ran --
You could have created a more meaningful username than 'user'. Anyways.
----- | [user@localhost scratchbox]$ ./login --
Did you logout and re-login as mentioned here? http://www.scratchbox.org/documentation/docbook/0.9.8/installdoc.html#AEN190
----- | Fedora Core 3 --
Please use a recent distro.
SK