[maemo-developers] Installing scratchbox on Fedora 8: PERMISSION PROBLEMS

From: Vladislav Grinchenko vladislav.grinchenko at comtechtel.com
Date: Thu Oct 23 20:35:37 EEST 2008
Looks like you need to install targets in addition to scratchbox itself.
You need at least i386, but most likely would need ARMEL to build native
binaries. If you have them installed, run 'sb-menu' and select a target.
Selecting a target configures scratchbox by making a number of symbolic
links. 

I run maemo SDK on Fedoras since day one with no problems so far.

If you have any more questions, feel free to ask.

--Vlad


On Thu, 2008-10-23 at 12:25 -0500, Darren Enns wrote:
> Fred wrote:
> > Darren Enns a écrit :
> >> Fred wrote:
> >>> Eero Tamminen a écrit :
> >>>> Hi,
> >>>>
> >>>> ext Darren Enns wrote:
> >>>>> Today, I determined to 'once again' try to install 'scratchbox' on 
> >>>>> my Fedora 8 machine.  I have now tried to do so twice today, with 
> >>>>> the same final disappointing result when trying to run 'python2.5' 
> >>>>> (after needing to install it with 'apt-get'):
> >>>>>
> >>>>> [sbox-N800: ~] > python2.5
> >>>>> /scratchbox/tools/bin/misc_runner: /tmp/cputransp_dmenns.log: 
> >>>>> Permission denied
> >>>> Is this file writable by you?
> >>>>
> >>>>
> >>>>     - Eero
> >>>> _______________________________________________
> >>>> maemo-developers mailing list
> >>>> maemo-developers at maemo.org
> >>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
> >>> Do you have SELinux enabled ?
> >>>
> >>> Fred
> >> Hmmm...no, on my machine 'SELinux' appears to be disabled, but would 
> >> that even have an effect 'inside' scratchbox while running the 'arm' 
> >> emulator?
> >>
> >> Thanks
> >>
> >> Dare
> >> _______________________________________________
> >> maemo-developers mailing list
> >> maemo-developers at maemo.org
> >> https://lists.maemo.org/mailman/listinfo/maemo-developers
> >
> > Your error shows a path outside of scratchbox ...
> > I know I have a load of hair pulled out because of SELinux so ...
> > But if SELinux is disabled ...
> >
> > Fred
> You probably know better than me, but I think that the 'appearance' of a 
> referral to a path outside scratchbox is just an illusion i.e. 
> "/scratchbox" doesn't actually exist at the root level on my 'real' box 
> as this appears.
> 
> It is interesting that on my Debian-based 'scratchbox' environment (on a 
> different PC), the '/tmp' directory does have different (more 
> permissive) permissions:
> 
> sbox-CHINOOK_ARMEL: ~ > ls -ld /tmp
> drwxrwxrwt  7 root root 4096 Oct 23 12:16 /tmp
> 
> If there were some way for me to *really* sign into scratchbox as 
> 'root', maybe I could try to repair my Fedora operation.  However, I 
> would imagine that there are lots of other people out there running 
> scratchbox on Fedora, and can (hopefully) tell me what I have done wrong 
> (or what they did to fix this).  Are you running Fedora yourself?  Can 
> you check your '/tmp' permissions for me?
> 
> Thanks
> 
> Dare
> 
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list