On Fri, Jan 20, 2006 at 04:29:14PM +0100, Olivier Kaloudoff wrote:
> Hi,
> 
>    I successfully installed scratchbox 0.9.8.5, but cannot create a new 
> rootstrap target ...
> 
> 
> [sbox-: ~] >  sbox-config -ct SDK_PC
> 
> Available compilers:
>        0) arm-linux-gcc3.4.cs-uclibc0.9.27-nofpu
>        1) arm-linux-gcc3.4.cs-uclibc0.9.27
>        2) host-gcc
> 
> Enter compiler number: 0
> 
> Available CPU-transparency methods:
>        sbrsh
>        qemu-arm
>        qemu-ppc
> 
> Enter method name (qemu-arm):
> /scratchbox/tools/bin/sbox-config: line 705: /dev/null: Permission denied
> qemu-arm not found in PATH

Hmm.. sounds more like the issue is not with qemu, but in the device
node access itself.

Try following commands:

Outside scratchbox:
$ echo foo > /dev/null
If this fails, there is something horribly wrong in your system.

$ echo foo > /scratchbox/dev/null
If this fails, either the device nodes are not created correctly,
their permission flags are screwed or /scratchbox is located somewhere
that is mounted with "nodev" flag.

Inside scratchbox:
[sbox-HOST: ~] > echo foo > /scratchbox/dev/null
If the previous command works, then this should work too. If not,
there might be some strange redirections in your environment.

[sbox-HOST: ~] > echo foo > /dev/null
If the above works, but this fails, the /dev in your sb target refers
to wrong place.






-- 
Toni Timonen
040-5111863,GPG 0x7984A4FD
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to