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

Russell Allen mail at russell-allen.com
Sun Feb 19 07:09:01 UTC 2012


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.  

Secondly, to open a snapshot from the terminal, open a terminal, cd to the directory your Clean-4.4.snap file is (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.

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





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/539e0bbd/attachment.html>


More information about the Self-interest mailing list