Login  Register

Re: Linux Install -- problems, but eventually successful

Posted by Jimmie Houchin-5 on Jul 25, 2015; 4:08pm
URL: https://forum.world.st/Linux-Install-problems-but-eventually-successful-tp4839294p4839302.html

Hello,

Welcome to Pharo and the Pharo community. Smalltalk/Pharo are
exceptionally empowering tools. And getting better all the time.

My apologies for your difficulties. I personally have not seen that page
before as I already have scripts for installing all of the requisite
libraries. This script has worked for me for years on Ubuntu or other
Debian based distros. My favorite was Crunchbang.

I did not originate this script but believe I started with I found years
ago for either Debian or Ubuntu. I cleaned it up and added to it over
time. It installs all the necessary libraries to my knowledge. Whether
or not installs more than I need I do not know. All I do know is that
after running the script Pharo runs perfectly.

I copied all of this from my setup-pharo.sh  script.
I run this script anytime I have a fresh Linux install.
I then sudo -s and run the script.

dpkg --add-architecture i386
apt-get update

apt-get --yes install cmake zip bash-completion ruby git xz-utils
debhelper devscripts
apt-get --yes install libc6-dev:i386 libasound2:i386 libasound2-dev:i386
libasound2-plugins:i386
apt-get --yes install libssl-dev:i386 libssl1.0.0:i386 libssh2-1:i386
libfreetype6-dev:i386 libx11-dev:i386 libsm-dev:i386 libice-dev:i386
apt-get --yes install build-essential gcc-multilib g++
apt-get --yes install libgl1-mesa-dev:i386 libgl1-mesa-glx:i386

Hopefully this can help your experience with Pharo and/or Squeak.

Jimmie



On 07/25/2015 09:54 AM, Shadowfirebird wrote:

> Hi all,
>
> I've been having trouble getting *any* sort of Smalltalk working on
> Linux.  But ultimately I got Pharo (my first choice) working on Debian
> Jessie.
>
> It wasn't terribly hard in the end, but since the instructions at
> http://pharo.org/gnu-linux-installation#64-bit-System-Setup seem to be
> out of date, I thought it might be helpful to post something in case
> those in charge of that page would like to update.  Since there is no
> issue tracker, I assume this is a good a place as any.
>
>
> ## Short Version ##
>
> * sudo dpkg --add-architecture i386
> * sudo apt-get update
> * sudo apt-get install lib32zl lib32ncurses5
>
> Note that there is no ia32-libs package on Jessie, as far as I can
> tell.  (I have no idea whether you actually need to install
> lib32ncurses5, but those were what apt-get suggested, and it worked.)
>
> I do have a startup error -- "MessageNotUnderstood:
> EmbeddedFreeTypeFontInstaller>>failedToOpen:Index:" -- but it doesn't
> seem to break anything.
>
>
> ## Longer version / Rant ##
>
> Pharo turned out to be impossible on my netbook (where I would like to
> use it, sadly) because it is still running Crunchbang, which is Debian
> Woody under the hood. So in theory the fix from the 64bit install page
> should work.  It doesn't, though -- some sort of problem with #! I suppose
>
>     "The following packages have unmet dependacies:
>         ia32-libs: Depends: ia32-libs-i386"
>
> Squeak, as downloaded from their site, has exactly the same problem.
>
> Pharo isn't in the Debian Repository, but an old version of the Squeak
> VM -- *just* the VM -- is.  (Not sure what the point of that is.)  It
> doesn't work with the current Squeak image from the website. I did
> eventually manage to get a compatible image ... via FTP.  Good grief.  
> (Good enough to learn the ropes, I suppose.)
>
> I really didn't want to go the Gnu Smalltalk road, but in desperation
> I tried it. Under both Crunchbang and Debian Jessie, the gst-browser
> package falls over immediately when you start it, a great big error
> trace I won't bother to paste here.  These are packages in the
> *repository*. Is no-one maintaining them?
>
>
> The point of this rant is to give context to the following:  thank
> you.  Really, thank you, to the folks behind Pharo and everyone
> reading this.
>
> This is the problem with FOSS: blink, and yesterday's rave technology
> is gone. And Smalltalk is *important* -- I'm not a Smalltalk
> programmer, but every time I play with it I learn so much about OOP,
> programming, and good design of classes.  And I keep coming back to
> try to work with it again, because it offers things I want and just
> can't get elsewhere.  The idea that Smalltalk might one day just ...
> not run? Not worth thinking about.
>
>
> Okay, broke a cardinal rule here.  Apologies for joining a mailing
> list and then immediately posting a long rant.  Going to Lurk Mode now!
>
> Shadow.
>
>