OLPC squeak on OSX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

OLPC squeak on OSX

Randy Heiland
Hi folks,
I am thinking of you all at Squeakfest this week and thought I'd try  
to install/play with the OLPC-Etoys that was advertised on the  
Squeakfest site.  Downloading that .zip file and unzipping it, I  
followed the terse README and dragged 'etoys.image' onto  
'Squeakland.app', but nothing happened, i.e. Etoys didn't pop up.  
Still being a somewhat newbie in OSX, could someone offer up some clues?

Previously, I had downloaded etoys from squeakland and that ran fine  
on my Mac.

Fwiw, I'm running OSX 10.4.10 and have:

~/dev/Education/OLPC$ ll
total 89264
drwxr-xr-x   25 heiland  heiland       850 Aug  3 12:42 ExampleEtoys/
-rw-r--r--    1 heiland  heiland     76288 Jan 21  2006  
KedamaPlugin2.dll
-rw-r--r--    1 heiland  heiland  24631486 Aug  3 12:33 OLPC-
Etoys070726.zip
-rw-r--r--    1 heiland  heiland       340 Jul 26 11:12 README
-rw-r--r--    1 heiland  heiland   1077760 Sep 23  2004 Squeak.exe
-rw-r--r--    1 heiland  heiland       211 Jul 26 11:36 Squeak.ini
drwxr-xr-x    3 heiland  heiland       102 Aug  3 12:42 Squeakland.app/
-rw-r--r--    1 heiland  heiland  19899484 Jul 26 11:37 etoys.image


~/dev/Education/OLPC/Squeakland.app/Contents/MacOS$ ll
total 5136
-rw-r--r--   1 heiland  heiland  2624364 May 16 11:00 Squeak VM Opt
-rw-r--r--   1 heiland  heiland       66 May 16 11:01 Squeak VM Opt.sig

thanks, Randy
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

johnmci
Ok by using the unix command ll in a terminal session I assume you  
are a bit familiar with Unix.
The issue here is the executable permission is not set on the Squeak  
VM Opt.  It should look like

-rwxr-xr-x   1 johnmci  staff  2624364 May 16 11:00 Squeak VM Opt

Lacking the 'x' means it won't execute.

Given the OLPC-Etoys070726.zip and in the Finder if you control-click  
on it to get the command menu and pick
'Open with'  it should say that 'BOMArchiveHelper.app' is the  
application used to open a ZIP file.

Double clicking on the ZIP file in the macintosh Finder should also  
run BOMArchiveHelper to unzip the file.

I suspect you used the unzip command line tool to unzip the zip file,  
in checking this way of unzipping the archive I found it does not  
restore the execute bit properly.

On Aug 3, 2007, at 10:02 AM, Randy Heiland wrote:

> Hi folks,
> I am thinking of you all at Squeakfest this week and thought I'd try
> to install/play with the OLPC-Etoys that was advertised on the
> Squeakfest site.  Downloading that .zip file and unzipping it, I
> followed the terse README and dragged 'etoys.image' onto
> 'Squeakland.app', but nothing happened, i.e. Etoys didn't pop up.
> Still being a somewhat newbie in OSX, could someone offer up some  
> clues?
>
> Previously, I had downloaded etoys from squeakland and that ran fine
> on my Mac.
>
> Fwiw, I'm running OSX 10.4.10 and have:
>
> ~/dev/Education/OLPC$ ll
> total 89264
> drwxr-xr-x   25 heiland  heiland       850 Aug  3 12:42 ExampleEtoys/
> -rw-r--r--    1 heiland  heiland     76288 Jan 21  2006
> KedamaPlugin2.dll
> -rw-r--r--    1 heiland  heiland  24631486 Aug  3 12:33 OLPC-
> Etoys070726.zip
> -rw-r--r--    1 heiland  heiland       340 Jul 26 11:12 README
> -rw-r--r--    1 heiland  heiland   1077760 Sep 23  2004 Squeak.exe
> -rw-r--r--    1 heiland  heiland       211 Jul 26 11:36 Squeak.ini
> drwxr-xr-x    3 heiland  heiland       102 Aug  3 12:42  
> Squeakland.app/
> -rw-r--r--    1 heiland  heiland  19899484 Jul 26 11:37 etoys.image
>
>
> ~/dev/Education/OLPC/Squeakland.app/Contents/MacOS$ ll
> total 5136
> -rw-r--r--   1 heiland  heiland  2624364 May 16 11:00 Squeak VM Opt
> -rw-r--r--   1 heiland  heiland       66 May 16 11:01 Squeak VM  
> Opt.sig
>
> thanks, Randy
> _______________________________________________
> Squeakland mailing list
> [hidden email]
> http://squeakland.org/mailman/listinfo/squeakland

--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Alan Kay
And, of course, the OLPC Etoys runs fine on a Mac or Windows OS ...

Cheers,

Alan

------------

At 02:51 AM 8/6/2007, John M McIntosh wrote:

>Ok by using the unix command ll in a terminal session I assume you
>are a bit familiar with Unix.
>The issue here is the executable permission is not set on the Squeak
>VM Opt.  It should look like
>
>-rwxr-xr-x   1 johnmci  staff  2624364 May 16 11:00 Squeak VM Opt
>
>Lacking the 'x' means it won't execute.
>
>Given the OLPC-Etoys070726.zip and in the Finder if you control-click
>on it to get the command menu and pick
>'Open with'  it should say that 'BOMArchiveHelper.app' is the
>application used to open a ZIP file.
>
>Double clicking on the ZIP file in the macintosh Finder should also
>run BOMArchiveHelper to unzip the file.
>
>I suspect you used the unzip command line tool to unzip the zip file,
>in checking this way of unzipping the archive I found it does not
>restore the execute bit properly.
>
>On Aug 3, 2007, at 10:02 AM, Randy Heiland wrote:
>
> > Hi folks,
> > I am thinking of you all at Squeakfest this week and thought I'd try
> > to install/play with the OLPC-Etoys that was advertised on the
> > Squeakfest site.  Downloading that .zip file and unzipping it, I
> > followed the terse README and dragged 'etoys.image' onto
> > 'Squeakland.app', but nothing happened, i.e. Etoys didn't pop up.
> > Still being a somewhat newbie in OSX, could someone offer up some
> > clues?
> >
> > Previously, I had downloaded etoys from squeakland and that ran fine
> > on my Mac.
> >
> > Fwiw, I'm running OSX 10.4.10 and have:
> >
> > ~/dev/Education/OLPC$ ll
> > total 89264
> > drwxr-xr-x   25 heiland  heiland       850 Aug  3 12:42 ExampleEtoys/
> > -rw-r--r--    1 heiland  heiland     76288 Jan 21  2006
> > KedamaPlugin2.dll
> > -rw-r--r--    1 heiland  heiland  24631486 Aug  3 12:33 OLPC-
> > Etoys070726.zip
> > -rw-r--r--    1 heiland  heiland       340 Jul 26 11:12 README
> > -rw-r--r--    1 heiland  heiland   1077760 Sep 23  2004 Squeak.exe
> > -rw-r--r--    1 heiland  heiland       211 Jul 26 11:36 Squeak.ini
> > drwxr-xr-x    3 heiland  heiland       102 Aug  3 12:42
> > Squeakland.app/
> > -rw-r--r--    1 heiland  heiland  19899484 Jul 26 11:37 etoys.image
> >
> >
> > ~/dev/Education/OLPC/Squeakland.app/Contents/MacOS$ ll
> > total 5136
> > -rw-r--r--   1 heiland  heiland  2624364 May 16 11:00 Squeak VM Opt
> > -rw-r--r--   1 heiland  heiland       66 May 16 11:01 Squeak VM
> > Opt.sig
> >
> > thanks, Randy
> > _______________________________________________
> > Squeakland mailing list
> > [hidden email]
> > http://squeakland.org/mailman/listinfo/squeakland
>
>--
>========================================================================
>===
>John M. McIntosh <[hidden email]>
>Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>========================================================================
>===
>
>
>_______________________________________________
>Squeakland mailing list
>[hidden email]
>http://squeakland.org/mailman/listinfo/squeakland

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Yoshiki Ohshima
  It could be the case that I screwed it up and put wrong files in
wrong way there.  I tried it with my colleague's Mac once but didn't
really try afterwards.

  BTW, can anybody compile KedamaPlugin2 for Mac?

-- Yoshiki
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

johnmci
Randy replied:
> Thanks much John.  Yes, I am an old Unix guy and therefore unzipped  
> it myself.  I simply double-clicked on the .zip in the Finder and  
> things work fine now.

 > unzipping the zip file via a command in a terminal session results  
in an non-runable application, so there is nothing wrong with
how you made the zip file.

As for the KedamaPlugin2  if you point me to the source code and  
smalltalk code needed to build it I can do that for you.

I note I did not include the old KedamaPlugin in the newer  
Squeakland.app  we started shipping in May 07 become no-one could
tell me if it was needed and where was the source to compile it for  
MacIntel machines.

But I assume now you have replaced it with  KedamaPlugin2 ?

On Aug 7, 2007, at 9:58 PM, Yoshiki Ohshima wrote:

>   It could be the case that I screwed it up and put wrong files in
> wrong way there.  I tried it with my colleague's Mac once but didn't
> really try afterwards.
>
>   BTW, can anybody compile KedamaPlugin2 for Mac?
>
> -- Yoshiki
> _______________________________________________
> Squeakland mailing list
> [hidden email]
> http://squeakland.org/mailman/listinfo/squeakland

--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Yoshiki Ohshima
  Hi, John,

> I note I did not include the old KedamaPlugin in the newer  
> Squeakland.app  we started shipping in May 07 become no-one could
> tell me if it was needed and where was the source to compile it for  
> MacIntel machines.
>
> But I assume now you have replaced it with  KedamaPlugin2 ?

  I would actually like to have both KedamaPlugin and KedamaPlugin2
included in the distributions intended for Squeaklanders. Here are the
file outs for them.

  Thank you so much!

-- Yoshiki

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland

KedamaPlugin.st.gz (10K) Download Attachment
KedamaPlugin2.st.gz (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Randy Heiland
In reply to this post by johnmci
Is there an alternative to dragging the image onto the app to fire up  
etoys - preferably a command line equivalent?

-Randy

On Aug 6, 2007, at 5:51 AM, John M McIntosh wrote:

> Ok by using the unix command ll in a terminal session I assume you  
> are a bit familiar with Unix.
> The issue here is the executable permission is not set on the  
> Squeak VM Opt.  It should look like
>
> -rwxr-xr-x   1 johnmci  staff  2624364 May 16 11:00 Squeak VM Opt
>
> Lacking the 'x' means it won't execute.
>
> Given the OLPC-Etoys070726.zip and in the Finder if you control-
> click on it to get the command menu and pick
> 'Open with'  it should say that 'BOMArchiveHelper.app' is the  
> application used to open a ZIP file.
>
> Double clicking on the ZIP file in the macintosh Finder should also  
> run BOMArchiveHelper to unzip the file.
>
> I suspect you used the unzip command line tool to unzip the zip  
> file, in checking this way of unzipping the archive I found it does  
> not  restore the execute bit properly.
>
> On Aug 3, 2007, at 10:02 AM, Randy Heiland wrote:
>
>> Hi folks,
>> I am thinking of you all at Squeakfest this week and thought I'd try
>> to install/play with the OLPC-Etoys that was advertised on the
>> Squeakfest site.  Downloading that .zip file and unzipping it, I
>> followed the terse README and dragged 'etoys.image' onto
>> 'Squeakland.app', but nothing happened, i.e. Etoys didn't pop up.
>> Still being a somewhat newbie in OSX, could someone offer up some  
>> clues?
>>
>> Previously, I had downloaded etoys from squeakland and that ran fine
>> on my Mac.
>>
>> Fwiw, I'm running OSX 10.4.10 and have:
>>
>> ~/dev/Education/OLPC$ ll
>> total 89264
>> drwxr-xr-x   25 heiland  heiland       850 Aug  3 12:42 ExampleEtoys/
>> -rw-r--r--    1 heiland  heiland     76288 Jan 21  2006
>> KedamaPlugin2.dll
>> -rw-r--r--    1 heiland  heiland  24631486 Aug  3 12:33 OLPC-
>> Etoys070726.zip
>> -rw-r--r--    1 heiland  heiland       340 Jul 26 11:12 README
>> -rw-r--r--    1 heiland  heiland   1077760 Sep 23  2004 Squeak.exe
>> -rw-r--r--    1 heiland  heiland       211 Jul 26 11:36 Squeak.ini
>> drwxr-xr-x    3 heiland  heiland       102 Aug  3 12:42  
>> Squeakland.app/
>> -rw-r--r--    1 heiland  heiland  19899484 Jul 26 11:37 etoys.image
>>
>>
>> ~/dev/Education/OLPC/Squeakland.app/Contents/MacOS$ ll
>> total 5136
>> -rw-r--r--   1 heiland  heiland  2624364 May 16 11:00 Squeak VM Opt
>> -rw-r--r--   1 heiland  heiland       66 May 16 11:01 Squeak VM  
>> Opt.sig
>>
>> thanks, Randy
>> _______________________________________________
>> Squeakland mailing list
>> [hidden email]
>> http://squeakland.org/mailman/listinfo/squeakland
>
> --
> ======================================================================
> =====
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> ======================================================================
> =====
>
>

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

johnmci
Randy you can double click the image file and that should run the  
most current virtual machine you have. You can do get Info on the  
etoys.image in the Finder and examine and alter the Open with: tab to  
see which VM the *.image file is going to use.  If you have multiple  
etoy folders, installs, Squeak VMs, and OLPC VMs/images it can be a  
bit confusing about which VM will be used. Sometimes the Finder has  
it's own ideas, although it should be using the "latest" application  
that understands how to open the document.

Technically think of the VM as the macintosh application, and the  
image file as the Document.

I noticed the SqueakLand.app  VM on the OLPC-Etoys070726.zip  
contains internally a Squeakland.image  which is used by default if
you double click on the SqueakLand.app. You could replace that  
Squeakland.image with another image if needbe.

Mind I suspect the Squeakland.app in the OLPC-Etoys070726.zip should  
not contain the Squeakland.image since I think it's replaced by the  
etoys.image? Er this makes the zip file 2x as large since there are  
two images in the zip file.


If you desire a command line equivalent there are a number of  
choices. The easiest is to use the 'open' command

open -a Squeakland.app etoys.image

which says open the application Squeakland.app with the document  
etoys.image


On Aug 10, 2007, at 6:08 AM, Randy Heiland wrote:

> Is there an alternative to dragging the image onto the app to fire  
> up etoys - preferably a command line equivalent?
>
> -Randy

--
========================================================================
===
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
========================================================================
===


_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Yoshiki Ohshima
  John,

> Mind I suspect the Squeakland.app in the OLPC-Etoys070726.zip should  
> not contain the Squeakland.image since I think it's replaced by the  
> etoys.image? Er this makes the zip file 2x as large since there are  
> two images in the zip file.

  Oops.  There shouldn't be another image (other than etoys.image) in
the zip file.  For the next round, I'll make up with a zip file that
follows Sophie structure, I guess.

-- Yoshiki
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Randy Heiland
Just to follow up on this - is there an updated .zip to download from  
somewhere?

-Randy

On Aug 11, 2007, at 3:56 PM, Yoshiki Ohshima wrote:

>   John,
>
>> Mind I suspect the Squeakland.app in the OLPC-Etoys070726.zip should
>> not contain the Squeakland.image since I think it's replaced by the
>> etoys.image? Er this makes the zip file 2x as large since there are
>> two images in the zip file.
>
>   Oops.  There shouldn't be another image (other than etoys.image) in
> the zip file.  For the next round, I'll make up with a zip file that
> follows Sophie structure, I guess.
>
> -- Yoshiki
> _______________________________________________
> Squeakland mailing list
> [hidden email]
> http://squeakland.org/mailman/listinfo/squeakland

_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland
Reply | Threaded
Open this post in threaded view
|

Re: OLPC squeak on OSX

Yoshiki Ohshima
  Randy,

> Just to follow up on this - is there an updated .zip to download from  
> somewhere?

http://tinlizzie.org/olpc/OLPC-Etoys070821.zip

is the one so far.  It is not yet in the form of installer, but should
be usable.

-- Yoshiki
_______________________________________________
Squeakland mailing list
[hidden email]
http://squeakland.org/mailman/listinfo/squeakland