Sean,
I've just gone through a similar process (when the pharo launcher
package stopped working on ubunut12.04). I created a script[1] for
installing the prereqs for both ubuntu12.04 and ubuntu14.04, based on
the "vmLatest" vm ... but I did find that libgl1-mesa-dev:i386 and
libxcb-dri2-0:i386 are needed for X11 on both platforms ...
sudo apt-get -y install libgl1-mesa-dev:i386
sudo apt-get -y install libxcb-dri2-0:i386
I also picked up that libfreetype6:i386 was needed for freetype support
... some of the other libraries are needed for only for GemStone/S and I
have a bonus set of libraries that are needed for Pharo 1.1 and it's old
vm to run (in the GemTools section) ...
I really only worried about the fonts, ssl and x11 plugins, but I can
help you figure out the reqs for any other plugins, since I still have
not completely forgotten the magic incantations:)
Dale
[1] https://github.com/GsDevKit/gsDevKitHome/blob/dev/bin/osPrereqs
On 4/13/15 3:43 PM, Sean P. DeNigris wrote:
Sean P. DeNigris wrote
I tried installing on Ubuntu and Debian from the perspective of a new user
based on the instructions at http://pharo.org/download and they are a
shambles!
One huge pain point is installing 32-bit libraries. This seems to be getting
harder and harder as time goes on.
Old School
======
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
But many newer distros no longer support the ia32-libs package, so...
Ubuntu
=====
Ubuntu 12.04: use old-school method above
But in 14.04 there is apparently no way to do this. You can get close with
"sudo aptitude install lib32z1 lib32ncurses5 lib32bz2-1.0" and "sudo
aptitude install libx11-6:i386", but the next recommended step of "sudo
aptitude install libgl1-mesa-glx:i386" would not work for me and google
didn't seem to provide any alternatives. The only workaround I found was to
install pharo-vm-core via the ppa first, and then ZeroConf and zipped
downloads work.
Debian wheezy (7.8)
=============
# It's possible, but definitely not one-click. It requires the 32-bit libs
and the special libc < 2.15 VM
# Use old school method above and then...
wget -O- http://swing.fit.cvut.cz/download/pharo/vm-swing | bash
Summary
======
The matrix of 32-bit * libc * [ zip | package management | ZeroConf ] makes
things very frustrating and confusing. Hopefully, we will soon be 64-bit,
but in the mean time, creating zips from the old-lib-c (aka swing) VM would
smooth out one axis and make explaining things a bit easier. It would be
great
Anyway, I spent most of the day and almost gave up before finally getting
clear. I'll be away from the computer until Wednesday. If no one is able to
create old-lib-c zips by then, I'll have another look.
Issue 15337: Old libC Zip
https://pharo.fogbugz.com/default.asp?15337
-----
Cheers,
Sean
--
View this message in context:
http://forum.world.st/Urgent-Clean-up-Download-Instructions-before-4-0-Release-tp4818938p4819428.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.