installing Squeak on linux

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

installing Squeak on linux

Ralph Boland
I always have problems installing Squeak on linux and
upgrading to Squeak 3.9 from Squeak 3.8 is no different.
In fact, so far, this time around I have failed.

On the Squeak download page  ( www.squeak.org/Download)
is says to download three files:
      the virtual machine (done),
      the image file (done),
     and the Sources file (I don't see this file anywhere) on this page.
     (I believe that I can use the 3.8 sources file here but I must need
     to fetch a changes file somewhere?????

Upon downloading the virtual machine file and untaring it I scanned
the INSTALL file.  It says:
    "
            If you don't already have the image/changes files
            corresponding to version X.Y then you also need to fetch: 
                  Squeak-X.Y-image.tar.gz
    "

 I don't see this file anywhere.

Each previous time I installed Squeak the inisqueak command failed
to be installed.  I hope at least that this problem is fixed this time around
but haven't reached this point yet.
Can someone tell me what I am supposed to do now?

Thanks.

Ralph Boland   (Yearning for the day when I can do a confusion free Squeak install)



Reply | Threaded
Open this post in threaded view
|

Re: installing Squeak on linux

Damien Cassou-3
What distribution do you have ? You can try:

deb http://ftp.squeak.org/debian/ testing main

Some distributions have a squeak-vm package in one of their repositories.

I always compile squeak myself to get the last vm. http://squeakvm.org/unix/

Keep us informed.

2007/4/4, Ralph Boland <[hidden email]>:

> I always have problems installing Squeak on linux and
> upgrading to Squeak 3.9 from Squeak 3.8 is no different.
> In fact, so far, this time around I have failed.
>
> On the Squeak download page  ( www.squeak.org/Download)
> is says to download three files:
>       the virtual machine (done),
>       the image file (done),
>      and the Sources file (I don't see this file anywhere) on this page.
>      (I believe that I can use the 3.8 sources file here but I must need
>      to fetch a changes file somewhere?????
>
> Upon downloading the virtual machine file and untaring it I scanned
> the INSTALL file.  It says:
>     "
>             If you don't already have the image/changes files
>             corresponding to version X.Y then you also need to fetch:
>                   Squeak-X.Y-image.tar.gz
>     "
>
>  I don't see this file anywhere.
>
> Each previous time I installed Squeak the inisqueak command failed
> to be installed.  I hope at least that this problem is fixed this time
> around
> but haven't reached this point yet.
> Can someone tell me what I am supposed to do now?
>
> Thanks.
>
> Ralph Boland   (Yearning for the day when I can do a confusion free Squeak
> install)
>
>
>
>
>


--
Damien Cassou

Reply | Threaded
Open this post in threaded view
|

Re: installing Squeak on linux

Brad Fuller-3
In reply to this post by Ralph Boland
Ralph Boland wrote:

> I always have problems installing Squeak on linux and
> upgrading to Squeak 3.9 from Squeak 3.8 is no different.
> In fact, so far, this time around I have failed.
>
> On the Squeak download page  ( www.squeak.org/Download
> <http://www.squeak.org/Download>)
> is says to download three files:
>       the virtual machine (done),
>       the image file (done),
>      and the Sources file (I don't see this file anywhere) on this page.
>      (I believe that I can use the 3.8 sources file here but I must need
>      to fetch a changes file somewhere?????
>
> Upon downloading the virtual machine file and untaring it I scanned
> the INSTALL file.  It says:
>     "
>             If you don't already have the image/changes files
>             corresponding to version X.Y then you also need to fetch:
>                   Squeak-X.Y-image.tar.gz
>     "
>
>  I don't see this file anywhere.
>
> Each previous time I installed Squeak the inisqueak command failed
> to be installed.  I hope at least that this problem is fixed this time
> around
> but haven't reached this point yet.
> Can someone tell me what I am supposed to do now?
I fully agree that the directions are not very good.

If you download/unpack the linux tar.gz file, it'll create a new set of
directories under the dir name: "Squeak-3.9-8" in the directory you
unpacked it in. cd to that directory and execute Install. It will
install the VM for you. If successful, you can safely delete (if you
want) the files you unpacked as the Install script copied them in the
correct directories.

You can now type: squeak at the command prompt. It should run but give
you an explanation:

Could not open the Squeak image file `squeak.image'.

If you don't get this, check to see if "/usr/local/bin"  is in your
path. You can also check:

$ ls -lsa /usr/local/bin/squeak

It should return something like:

 /usr/local/bin/squeak -> ../lib/squeak/3.9-8/squeak

You can also check that directory:
$ ls /usr/local/lib/squeak/3.9-8/

This should return a list of files, "squeak" being one of them.
I placed SqueakV39.sources there, too.

Now, download and unpack the Basic Squeak Release from the same web
location as above. It will unpack in the directory
"Squeak3.9-final-7067". This will contain the other 3 files that you
need: the .image file, the .changes file and the SqueakV39.sources file.

If you then change to the directory where the .image file was unpacked,
you can run squeak there.

brad

--
brad fuller
www.bradfuller.com
+1 (408) 799-6124


Reply | Threaded
Open this post in threaded view
|

Re: installing Squeak on linux

Brad Fuller-3
In reply to this post by Ralph Boland
Ralph Boland wrote:
>
>     "
>             If you don't already have the image/changes files
>             corresponding to version X.Y then you also need to fetch:
>                   Squeak-X.Y-image.tar.gz
>     "
>
>  I don't see this file anywhere.
Squeak-X.Y-image refers to the version: the latest official release is
Squeak3.9-final-7067.tar.gz

Reply | Threaded
Open this post in threaded view
|

RE: installing Squeak on linux

Ramon Leon-5
In reply to this post by Ralph Boland
> Each previous time I installed Squeak the inisqueak command
> failed to be installed.  I hope at least that this problem is
> fixed this time around but haven't reached this point yet.
> Can someone tell me what I am supposed to do now?
>
> Thanks.
>
> Ralph Boland   (Yearning for the day when I can do a
> confusion free Squeak install)


You may find this helpful

http://onsmalltalk.com/programming/smalltalk/scaling-seaside-redux-enter-the
-penguin/

Ramon Leon
http://onsmalltalk.com 


Reply | Threaded
Open this post in threaded view
|

Re: installing Squeak on linux

Göran Krampe
In reply to this post by Ralph Boland
Hi!

> I always have problems installing Squeak on linux and
> upgrading to Squeak 3.9 from Squeak 3.8 is no different.

:) Yeah, it can be a bit confusing.

> In fact, so far, this time around I have failed.
>
> On the Squeak download page  (www.squeak.org/Download)
> is says to download three files:
>       the virtual machine (done),
>       the image file (done),
>      and the Sources file (I don't see this file anywhere) on this page.
>      (I believe that I can use the 3.8 sources file here but I must need
>      to fetch a changes file somewhere?????
>
> Upon downloading the virtual machine file and untaring it I scanned
> the INSTALL file.  It says:
>     "
>             If you don't already have the image/changes files
>             corresponding to version X.Y then you also need to fetch:
>                   Squeak-X.Y-image.tar.gz
>     "
>
>  I don't see this file anywhere.
>
> Each previous time I installed Squeak the inisqueak command failed
> to be installed.  I hope at least that this problem is fixed this time
> around
> but haven't reached this point yet.
> Can someone tell me what I am supposed to do now?

First of all - if you are on Debian (I presume not) then the easiest path
to get Squeak installed is to follow instructions on the swiki:

    http://wiki.squeak.org/squeak/3616

Having said that - even though I *am* on Debian I actually prefer to build
my own VM from source. So I would do the following for 3.9 (haven't
actually used 3.9 images on unix/linux yet):

1. Pull down the 3.9-8 source for the VM and follow build/install
instructions. If you are on a non-developer box this will most probably
force you to install a few more things like gcc, dev-packages for X11 etc.

2. Pull down the SqueakV39.sources file and put it in
/usr/local/lib/squeak/ BEWARE: From 3.9 this is a new version, the
SqueakV3.source is for pre 3.9. I note that Ian has missed this bit on his
pages on squeakvm.org.

3. Pull down any image/changes pair on demand from ftp.squeak.org in local
directories - I don't bother to "install" them anywhere. As you know these
two files always travel in pairs and are cross platform.

And the inisqueak script really doesn't "do" much so I typically don't
bother with it. For a while Ian forgot to include it, not sure if it is
included these days in step 1 above. It IS included in the Debian packages
though.

> Thanks.
>
> Ralph Boland   (Yearning for the day when I can do a confusion free Squeak
> install)

I also wrote a blog article a while back on VM building (with more details
- typically aimed at people experimenting with plugins etc):

    http://goran.krampe.se/blog/Squeak/vmmaker.rdoc

Perhaps I should revisit it and include some more details (dependencies
for building etc - I recently redid it on a plain Debian box).

regards, Göran

PS. On modern Linux and some other Unixes like Solaris or OpenBSD you will
most likely stumble on the annoying VM issue with virtual memory location:
http://bugs.squeak.org/view.php?id=1486

The short answer is to use "-mmap xxxM" (it also seems to work for me with
-memory xxxM") which will make the OS locate Squeak in the lower parts of
virtual memory (I think) and thus work around the issue.


Reply | Threaded
Open this post in threaded view
|

Re: installing Squeak on linux

Lex Spoon-3
In reply to this post by Ralph Boland
"Ralph Boland" <[hidden email]> writes:
> Each previous time I installed Squeak the inisqueak command failed
> to be installed.  I hope at least that this problem is fixed this
> time around but haven't reached this point yet.  Can someone tell me
> what I am supposed to do now?

In my opinion, inisqueak has been obsolete a long time.  Any
distribution that includes it is not very actively maintained.

Here's info on a newer script, the one used in the Debian distro
of Squeak:

  http://wiki.squeak.org/squeak/5643



-Lex