Sorry, Jeff, it most certainly works ;-)

./pharo is the headless version
./pharo-ui is the version for running a GUI

these are both bash scripts that use the binary inside pharo-vm
you can look at what's in them to understand what is going on

I don't want to be rude, but either you understand command line unix or you 
don't. To make things easier, there are the 2 top level scripts. I have no time 
to explain this from first principles, sorry.

> On 15 Feb 2015, at 23:10, J.F. Rick <[email protected]> wrote:
> 
> This somewhat works. At minimum, the command for downloading the google home 
> page works. On the other hand, the pharo-ui line caused an error: "pharo: 
> could not find any display driver"
> 
> That's not a huge deal as this is on a remote server and I can run headless. 
> However, when I try to do that (i.e., ./pharo-vm/pharo headless ./Pharo.image 
> &), I get the same message about not finding a display driver.
> 
> I do get both vm-display-X11 and vm-display-null showing up as available 
> drivers.
> 
> Cheers,
> 
> Jeff
> 
> On Sat, Feb 14, 2015 at 2:15 PM, Sven Van Caekenberghe <[email protected]> wrote:
> Hi,
> 
> It seems some people are having trouble getting Pharo to work on Ubuntu 
> 14.04.1 LTS 64-bit.
> 
> Here is one way to make things work.
> 
> Pharo (the VM) is a 32-bit executable dynamically linked to a number of 
> libraries, each of which has to be present in its 32-bit variant in order to 
> run Pharo and/or to use all features.
> 
> On a clean, stock, fully updated Ubuntu 14.04.1 LTS 64-bit, do the following 
> (the X11, GL and asound libraries are not needed when you run headless on a 
> server):
> 
> $ sudo apt-get install curl libc6:i386 libssl1.0.0:i386 libX11.6:i386 
> libGL.1:i386 libasound2:i386
> 
> $ curl get.pharo.org/40+vm | bash
> 
> $ ./pharo Pharo.image eval "ZnClient new get: 'https://google.com'"
> 
> $ ./pharo-ui Pharo.image
> 
> HTH,
> 
> Sven
> 
> PS: <Pro tip> You can use ldd to check if all dependencies of the VM and its 
> plugins in the pharo-vm directory are satisfied
> 
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
> 
> 
> 
> 
> 
> -- 
> Jochen "Jeff" Rick, Ph.D.
> http://www.je77.com/
> Skype ID: jochenrick


Reply via email to