[self-interest] Re: Problem installing Self 4.4 on Snow Leopard

David Ungar ungar at me.com
Sun Feb 19 17:59:24 UTC 2012


Thanks for trying Self, and thanks, Russell!!

- David (from iPad, typos likely)

On Feb 19, 2012, at 7:50 AM, sxyzh2 <sxyzh2 at yahoo.com> wrote:

> 
> 
> Success starts at (iv) below!
> Unsuccessful steps on the way documented (i) to (iii), in case might help someone later.
> 
> --- In self-interest at yahoogroups.com, Russell Allen <mail at ...> wrote:
> > Hi,
> > I don't know why /usr/bin/Self hasn't been created properly, sorry.
> > First step, is whether you can run images. Can you double-click the SelfDroplet.app? It should give you an open file dialog. Choose your Clean-4.4.snap (doesn't matter where that file is, or whether it is executable), and it should open the snapshot in the VM.
> > If that works, then at least you have a VM. 
> 
> Can't see how to enact that.
> 
> (i) 
> Although I have administrative access on the machine, I can only get into 
> /Library/Self/0
> by going superuser. And I dont know how to make the OS X finder go super user 
> for GUI operations. Hence can't see how to try double clicking on the SelfDroplet.app.
> 
> (ii) I tried 
> open SelfDroplet.app 
> but that gave
> LSOpenURLsWithRole() failed with error -10810 for the file 
> /Library/Self/0/SelfDroplet.app.
> 
> (iii) I had a go at copying SelfDroplet.app into a directory with less fierce permissions, 
> but given all the many subparts this got bogged down in permission issues.
> 
> > Secondly, to open a snapshot from the terminal, open a terminal, cd to the directory your Clean-4.4.snap file is 
> 
> (iv) For luck I copied Clean-4.4.snap into 
> /Library/Self/0/Self.app/Contents/MacOS/
> 
> (doesn't have to be any particular directory) and try the command: 
> > /Library/Self/0/Self.app/Contents/MacOS/Self -s Clean-4.4.snap
> > (type 'quit' to quit the REPL)
> > If both these work, then you have a VM and can run images. Otherwise something else is wrong as well.
> 
> (v) Oh yeah! That's doing the job!
> Legendary programming environment now running.
> Thanks so much for taking the trouble :-)
> 
> > Thirdly, the file at /usr/bin/Self is just a small shellscript which is:
> > #!/bin/sh
> > /Library/Self/0/Self.app/Contents/MacOS/Self $@
> > so if you create such a file with those contents and put it at /usr/bin/Self then you should have a system just as if the installer had worked.
> > Russell
> 
> (vi) Great tip -thanks!
> Most grateful, Russell
> Simon.
> 
> > On 19/02/2012, at 2:01 AM, sxyzh2 wrote:
> > > Dear All
> > > 
> > > Two colleagues and myself are getting the same problem installing Self 4.4 on Snow Leopard (in my case 10.6.8).
> > > 
> > > Any tips gratefully received.
> > > 
> > > 1. The Mac OSX Self-4.4.pkg installer runs apparently OK.
> > > 2. The Self VM and Droplet are duly installed in /Library/Self/0/
> > > 3. However, there is no sign of the shell script in /usr/bin/Self.
> > > 
> > > 4. By using su (administrative permission is not enough) one can copy Clean-4.4.snap to /Library/Self/0/SelfDroplet.app and mark it as executable
> > > like so.
> > > 
> > > bash-3.2# cd SelfDroplet.app
> > > bash-3.2# ls -al
> > > total 8992
> > > drwxr-xr-x 4 admin 501 136 14 Feb 18:18 .
> > > drwx------ 4 admin wheel 136 9 Feb 23:19 ..
> > > -rw-r--r--@ 1 root 501 4600436 14 Feb 18:18 Clean-4.4.snap
> > > drwxr-xr-x 6 admin 501 204 14 Feb 17:32 Contents
> > > 
> > > bash-3.2# chmod u+x Clean-4.4.snap
> > > 
> > > bash-3.2# ls -al
> > > total 8992
> > > drwxr-xr-x 4 admin 501 136 14 Feb 18:18 .
> > > drwx------ 4 admin wheel 136 9 Feb 23:19 ..
> > > -rwxr--r--@ 1 root 501 4600436 14 Feb 18:18 Clean-4.4.snap
> > > drwxr-xr-x 6 admin 501 204 14 Feb 17:32 Contents
> > > bash-3.2#
> > > 
> > > 5. After which the command
> > > open Clean-4.4.snap
> > > causes an OS X dialog box to appear which says something like
> > > "are you sure you want to run this application downloaded from the internet?"
> > > But then the launch fails with error 10810 in the terminal window.
> > > 
> > > 6.Tried numerous other things but nothing works.
> > > 
> > > Any tips gratefully received.
> > > Many thanks
> > > 
> > >
> >
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20120219/e3119c67/attachment.html>


More information about the Self-interest mailing list