[Squeakland] OS X startup
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Sep 22 22:04:21 PDT 2003
On Monday, September 22, 2003, at 01:51 PM, Shannon Pekary wrote:
> Thanks for the help Ned.
>
> I used the standard installer a while back, and I think I got the same
> results you did.
>
> However, I just did the following in OS 10.2.6 with IE:
> Go to download page from main page, got the Download OS 7.6 and above
> page,
> Clicked Other Downloads
> Downloaded the Jaguar .sit file. It expanded into the SqueakPlugin.pkg
> file.
> Double clicked the .pkg
>
Hi, I'm the original author of the squeakland installer. Right now I'm
working with Michael and others
at ViewPoints to update and address issues with installing Squeak in a
multi-user (class room) setting.
We've had a few VM updates, and had to deal with Safari, so things are
a bit behind in the current install package.
First I'll note the installation that I got from the web site was
SqueakPlugin10.2.pkg.sit
Created Friday Nov 15, 2002, 1:07PM
Modified Friday Nov 15, 2002, 107PM
Squeak Browser Plugin 3.4.0b1
If you inspect the contents of the pkg by doing ctrl-click and open
package you'll see
Contents
PkgInfo
Archive.pax.gz
Info.plist
Resources
Archive.bom
Welcome.rtf
ReadMe.rtf
InstallationCheck
postflight
Description.plist
License.rtf
So I'm confused about your comment that the Installer Package
SqueakPlugin could not be opened.
Could not find the Bill of Materials for this package.
I'm curious if in the terminal session if you do against the pkg file
ls -lR SqueakPlugin.pkg
you should get something close to this output below. The username and
group name may be different.
If you could invoke the command against the package and let me know the
results that would be useful.
total 0
drwxr-xr-x 7 johnmci wheel 238 Nov 15 2002 Contents
SqueakPlugin.pkg/Contents:
total 9192
-rwxr-xr-x 1 johnmci wheel 35162 Nov 15 2002 Archive.bom
-rwxr-xr-x 1 johnmci wheel 4658802 Nov 15 2002 Archive.pax.gz
-rwxr-xr-x 1 johnmci wheel 1211 Nov 15 2002 Info.plist
-rwxr-xr-x 1 johnmci wheel 8 Nov 15 2002 PkgInfo
drwxr-xr-x 9 johnmci wheel 306 Nov 15 2002 Resources
SqueakPlugin.pkg/Contents/Resources:
total 64
-rwxr-xr-x 1 johnmci wheel 526 Nov 15 2002 Description.plist
-rwxr-xr-x 1 johnmci wheel 410 Nov 15 2002 InstallationCheck
-rwxr-xr-x 1 johnmci wheel 10280 Nov 15 2002 License.rtf
-rwxr-xr-x 1 johnmci wheel 1331 Nov 15 2002 ReadMe.rtf
-rwxr-xr-x 1 johnmci wheel 1014 Nov 15 2002 Welcome.rtf
-rwxr-xr-x 1 johnmci wheel 1266 Nov 15 2002 postflight
[localhost:/Users/Shared] johnmci%
The curious who know a bit about Unix might want to look at the
postflight shell script.
That is where the work is done. After confirming the installer has
written the bits to the right
location (/tmp), we invoke various commands to unpack the pax file and
create required links to
enable us and the browser to find the plugin.
I'll note that the OS-X installer should gnu-unzip the Archive.pax.gz
file when it runs, versus
having that done by stuffit. Of course I'm curious if stuffit did in
fact unzip it, that might be an issue...
I'll note in the installer you can show the log, and extra details, I'm
curious about any errors you find.
There are some, so sending me that information would be useful.
Now where does it get installed, why to the user domain! Yes my
solution last year, so I'm to blame.
Ack, but all is not lost if you dig deeper into the postflight shell
script you'll see why, and thoughts about how to fix.
cd ~/Library/Preferences
...
rm ~/Library/Internet\ Plug-Ins/NPSqueak
rm ~/Desktop/My\ Squeak
rm ~/Desktop/Squeak\ 3.0
ln -f ~/Library/Preferences/Squeak/Internet/NPSqueak
~/Library/Internet\ Plug-Ins/NPSqueak
ln -fs ~/Library/Preferences/Squeak/Internet/My\ Squeak ~/Desktop/My\
Squeak
ln -fs ~/Library/Preferences/Squeak/Internet/SqueakPlugin.image
~/Desktop/Squeak\ 3.0
So as a unix fellow would see I'm specifically sticking the package
into the executing user's Library/Preferences directory
Right now I'm examining the ability to stick Squeak into
/Library/Preferences. I had thought about doing
that in the past, but wasn't sure of the implications, certainly we
need to get group permissions correct, and
ensure it's all workable in a shared environment you would find in a
class room.
2) Safari.
Safari support requires quite a different plugin than IE. I need to do
some work
to package a solution that allows you to work with both IE and Safari
at the same time. We had been
waiting on Apple to fix a Safari problem related to posting of Urls
within the VM, but now realize this
is not going to happen. I did pass a Safari aware plugin up the stream
for testing, but that's not happened.
It's a bit of a complicated solution, but not unsolvable.
3) Mozilla Firebird 0.6.1
Unsupported, sorry, two browsers are enough of a headache.
Actually there are three because IE for OS-9 is a different animal than
IE for OS-X .
Hopefully I can wrap up a solution by wed/thursday and I would welcome
some beta testers, if *anyone* is interested please
email off line.
> Error: The Installer Package SqueakPlugin could not be opened.
>
> Could not find the Bill of Materials for this package.
>
> I then opened the package and found an Archive.pax.gz file. Apparently
> this package had the pax file compressed. This may or may not get
> decompressed by stuffit, depending on settings I believe. I
> decompressed it and was able to start the installer.
>
> After installing, double clicking the Squeak 3.0 icon started squeak
> offline just fine. Strange that we are having such different
> experiences, and myself too with different machines.
>
> The other Macs I tried before have multiple users, and some accounts
> are hosted on a Mac Server. It would be really nice if Squeak worked
> from the System Library instead of the User Library so that I only
> need to install it once on each Mac. This problem makes it very
> tedious to install Squeak in a Mac school environment. I wonder why it
> doesn't work.
>
> I will try your instructions on the other Macs I am having trouble
> with later.
>
> Thanks,
>
> Shannon
>
>
> On Sunday, September 21, 2003, at 10:04 AM, Ned Konz wrote:
>
>> On Friday 19 September 2003 01:47 pm, Shannon Pekary wrote:
>>> I am a new squeak user, but experienced programmer. I got through
>>> the car driving demo with my kids, but I was really frustrated
>>> getting to the point where they could just squeak.
>>
>> How did you install Squeak? I assume that since you're asking on the
>> Squeakland list that you installed the Squeakland installer, but I'm
>> not sure from your questions.
>>
>> The easiest way to install the Squeakland image and VM and plugin is
>> to go to http://squeakland.org/plugin/installers/mac-x-std.html and
>> install the appropriate plugin.
>>
>> This will download a .sit file. When you click on the expanded version
>> (which is called SqueakPlugin.pkg despite the instructions referring
>> to it as SqueakPluginInstaller) you will get an installer.
>>
>> Since I need to install Squeak on a couple of Mac OS X machines, I'll
>> try this and see if it works...
>>
>> OK, from Safari I did the download, and got the .sit and the .pkg file
>> on my desktop.
>>
>> Then I clicked on the .pkg file and went through the installer.
>>
>> Then I clicked in the browser to test it and it didn't work. So I quit
>> Safari.
>>
>> There's an alias on my desktop now that says "Squeak 3.0". I clicked
>> on it and nothing happened.
>>
>> Ok...
>>
>> Select the alias, command-R to show the original (which is the
>> SqueakPlugin.image).
>>
>> command-I to get info on the image.
>>
>> expand the 'Open with:' tab, and it shows nothing to open it with.
>> Drop down the list and choose 'Squeak 3.0'. Also hit the 'Change
>> All...' button. Had to choose 'Squeak 3.0' again after that. I guess
>> I should have closed the setting dialog? Anyway, now the alias opens
>> Squeak locally.
>>
>> (Curious: Why is it called 'Squeak 3.0' when the plugin image is
>> derived from Squeak 3.2?)
>>
>> Let's try it in a browser (using the 'when you're finished click here'
>> link from the Squeakland installer page).
>>
>> Safari 1.0 (v85) ... nope. Just see a bit of the splash in a
>> rectangle.
>>
>> Mozilla Firebird 0.6.1 ... nope. See a black rectangle with a spinning
>> beach ball. Had to force quit (Cmd-Option-Escape, I just found out).
>>
>> M$ Internet Explorer 5.2 ... Interesting. For some reason, the
>> installer page on Squeakland leads me to the 'Download Squeak for Mac
>> OS 7.6 or higher' page instead of the Mac OS X page.
>>
>> Anyway, trying the 'click here' link there shows me the desired
>> 'Welcome to Squeakland!'. I could then go to the tutorials.
>>
>> When you start the Squeak plugin image inside a browser, it will offer
>> to load updates automatically. When you start it locally, it doesn't.
>>
>> So I started locally.
>>
>> You can open a desktop menu using the Escape key. Then choose 'help',
>> 'load updates from server'.
>>
>> I got 'loaded 41 update files' after some network activity.
>>
>> Escape key, 'save and quit'.
>>
>> Now I have a local shortcut that will start the Squeak Plugin image.
>>
>>> 2) I am trying to figure out how to turn on sharing of desktops in
>>> an intranet environment. The squeak.org site FAQ says to choose a
>>> new badge from the new morph/experimental menu. "experimental" is
>>> not a choice on my new morph menu. Any other ideas?
>>
>> Get an Object Catalog from Supplies or from the World Menu/Objects.
>>
>> Go to the 'Collaborative' tab (the FAQ needs to be edited), drag out a
>> badge. Enter your name. Drag out a Listener, click on the black
>> semicircle (which used to pop up Mickey Mouse (TM) ears but no longer
>> does for some reason <g>).
>>
>> Repeat from another machine.
>>
>> Pull out another badge and set its IP address to the first machine.
>> Now you can interact.
>>
>> --
>> Ned Konz
>> http://bike-nomad.com
>> GPG key ID: BEEA7EFE
>>
>>
> ------------------------------------
> Hands High Software, Inc.
> Bringing order to your mind
> Software for the Palm OS
>
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeakland
mailing list