Thanks Sven, you are right, curling get.pharo.org/50+vm does not give any problem. The issue isn't related to the libraries but it depends on http://files.pharo.org/platform/Pharo5.0-linux.zip After unzipping the file, it extracts a script "pharo" that contains: #!/usr/bin/env bash # path DIR=`readlink -f $0` #resolve symlink ROOT=`dirname "$DIR"` #obtain dir of the resolved path LINUX="$ROOT/bin" RESOURCES="$ROOT/shared" ICONS="$ROOT/icons" # icon (note: gvfs-set-attribute is found in gvfs-bin on Ubuntu # systems and it seems to require an absolute filename) gvfs-set-attribute \ "$0" \ "metadata::custom-icon" \ "file://$ICONS/Pharo.png" \ 2> /dev/null # zenity is part of GNOME image_count=`ls "$RESOURCES"/*.image 2>/dev/null |wc -l` if [ "$1" == "" ]; then if which zenity &>/dev/null && [ "$image_count" -ne 1 ]; then image=`zenity --title 'Select an image' --file-selection --filename "$RESOURCES/" --file-filter '*.image' --file-filter '*'` else image="$RESOURCES/Pharo5.0.image" fi else image=$* fi # execute exec "$LINUX/pharo" \ --plugins "$LINUX" \ --encoding utf8 \ -vm-display-X11 \ "$image" As you can see the last command executes the image with the vm-display-X11 and so the error when I try ./pharo Pharo.image eval "Stdio stdout << 'Hello,World!'" (from Pharo home page: http://pharo.org) Sorry to have annoyed the list. Davide Sven Van Caekenberghe-2 wrote
Davide,
It certainly works headless:
$ cat /etc/issue Ubuntu 14.04.4 LTS \n \l
$ mkdir pharo5
$ cd pharo5
$ curl get.pharo.org/50+vm | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2901 100 2901 0 0 29640 0 --:--:-- --:--:-- --:--:-- 29907 Downloading the latest 50 Image: http://files.pharo.org/get-files/50/pharo.zip Pharo.image Downloading the latest pharoVM: http://files.pharo.org/get-files/50/pharo-linux-stable.zip pharo-vm/pharo Downloading PharoV50.sources: http://files.pharo.org/get-files/50/sources.zip Creating starter scripts pharo and pharo-ui
$ ./pharo Pharo.image printVersion [version] 5.0 #50761
$ ./pharo Pharo.image eval "Stdio stdout << 'Hello,World'; lf" Hello,World StdioStream: 'stdout'
I always run the following script to install 32-bit dependencies:
$ cat ubuntu-32bit-support-on-64bit.sh #!/bin/bash sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 sudo apt-get install libssl1.0.0:i386 sudo apt-get install libfreetype6:i386
Which is part of my https://github.com/svenvc/pharo-server-tools project (still on Pharo 4 though).
HTH,
Sven
On 02 Aug 2016, at 18:16, Davide Varvello via Pharo-users <
pharo-users@.pharo
> wrote:
From: Davide Varvello <
varvello@
>
Subject: Re: I can't run Pharo5 on Linux Ubuntu 14.04.4 LTS Date: 2 August 2016 at 17:30:58 GMT+2 To:
pharo-users@.pharo
Hi Brad Unfortunately the ia32-libs package is no longer loadable on Ubuntu 14. See http://pharo.org/gnu-linux-installation Davide
Brad Selfridge wrote
Did you run:
sudo apt-get install ia32-libs
I have Pharo running on Ubuntu 14.04. There seemed to have been better instructions months ago and specific Ubuntu install ppa's but that changed. Now it's more confusing for those Ubuntu users.
-- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp49090... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- View this message in context: http://forum.world.st/I-can-t-run-Pharo5-on-Linux-Ubuntu-14-04-4-LTS-tp49090... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.