Attempting to run Squeak all-in-one download on ubuntu linux

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

Attempting to run Squeak all-in-one download on ubuntu linux

Hari
Folks,

I am trying to run squeak on Ubuntu Linux. I downloaded the zip file, extracted it into the same directory, made the squeak.sh executable, and attempted execution. What follows is the the output on my terminal window (username and computer name replaced). Please let me know what I need to tweak to get it working.

Kind regards,

Hari

username@computername:~/Downloads$ sudo chmod +x squeak.sh
[sudo] password for username: 
username@computername:~/Downloads$ ./squeak.sh
bash: ./squeak.sh: No such file or directory
username@computername:~/Downloads$ ls
Squeak5.1-16549-32bit-201608171728-Linux.zip  squeak.bat
Squeak5.1-16549-32bit-All-in-One.app          squeak.sh
Squeak5.1-16549-32bit-All-in-One.zip
username@computername:~/Downloads$ ./squeak.sh
Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
Using /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
Error. Could not determine platform's libc path for VM. 
Try forcing $PLATFORMLIBDIR in /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak, based on LIBC_SO.
Please report what works to squeak [vm-dev] mail list.
  LIBC_SO=
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=17.04
  DISTRIB_CODENAME=zesty
  DISTRIB_DESCRIPTION="Ubuntu Zesty Zapus (development branch)"
  NAME="Ubuntu"
  VERSION="17.04 (Zesty Zapus)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu Zesty Zapus (development branch)"
  VERSION_ID="17.04"
  VERSION_CODENAME=zesty
  UBUNTU_CODENAME=zesty
  UNAME=Linux computername 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
/home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: 36: /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: [[: not found


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Herbert König

Hi Hari,

IA32 libs seem to be missing on your system.

sudo apt-get install curl libc6:i386 libssl1.0.0:i386 libX11.6:i386 libGL.1:i386 libasound2:i386 worked on

worked on 14.04 LTS 64 bit. I have no newer Ubuntu.


HTH


Herbert


Am 27.02.2017 um 05:39 schrieb Hari Balaraman:
Folks,

I am trying to run squeak on Ubuntu Linux. I downloaded the zip file, extracted it into the same directory, made the squeak.sh executable, and attempted execution. What follows is the the output on my terminal window (username and computer name replaced). Please let me know what I need to tweak to get it working.

Kind regards,

Hari

username@computername:~/Downloads$ sudo chmod +x squeak.sh
[sudo] password for username: 
username@computername:~/Downloads$ ./squeak.sh
bash: ./squeak.sh: No such file or directory
username@computername:~/Downloads$ ls
Squeak5.1-16549-32bit-201608171728-Linux.zip  squeak.bat
Squeak5.1-16549-32bit-All-in-One.app          squeak.sh
Squeak5.1-16549-32bit-All-in-One.zip
username@computername:~/Downloads$ ./squeak.sh
Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
Using /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
Error. Could not determine platform's libc path for VM. 
Try forcing $PLATFORMLIBDIR in /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak, based on LIBC_SO.
Please report what works to squeak [vm-dev] mail list.
  LIBC_SO=
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=17.04
  DISTRIB_CODENAME=zesty
  DISTRIB_DESCRIPTION="Ubuntu Zesty Zapus (development branch)"
  NAME="Ubuntu"
  VERSION="17.04 (Zesty Zapus)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu Zesty Zapus (development branch)"
  VERSION_ID="17.04"
  VERSION_CODENAME=zesty
  UBUNTU_CODENAME=zesty
  UNAME=Linux computername 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
/home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: 36: /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak: [[: not found



    



Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Milan Vavra
In reply to this post by Hari
Hi Hari,

You can try the 64bit version of Squeak
http://files.squeak.org/5.1/Squeak5.1-16549-64bit/Squeak5.1-16549-64bit-201608171728-Linux.zip
.
It works out of the box. With sudo.
If you really want to run the 32bit all-in-one version,
you have to enable the 32bit architecture and
install the 32bit libraries.

See
https://milanvavra.wordpress.com/2017/02/27/squeak-5-1-32bit-installation-on-ubuntu-17-04-64bit-beta1-gnome/
for details.

Best Regards,

Milan
Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Levente Uzonyi
On Mon, 27 Feb 2017, Milan Vavra wrote:

> Hi Hari,
>
> You can try the 64bit version of Squeak
> http://files.squeak.org/5.1/Squeak5.1-16549-64bit/Squeak5.1-16549-64bit-201608171728-Linux.zip
> .
> It works out of the box. With sudo.

You must not run squeak as root unless you have a really good reason to
do so.

If it won't start on your unprivileged account, then you're probably
trying to use a heartbeat VM without enabling its use of higher thread
priorities.

To enable that on linux, you have to create the file
/etc/security/limits.d/squeak.conf as root with the following contents:
*       hard    rtprio  2
*       soft    rtprio  2

After that you have to start a new user session (log in again/restart your
machine/etc) for the changes to take effect.

Levente

> If you really want to run the 32bit all-in-one version,
> you have to enable the 32bit architecture and
> install the 32bit libraries.
>
> See
> https://milanvavra.wordpress.com/2017/02/27/squeak-5-1-32bit-installation-on-ubuntu-17-04-64bit-beta1-gnome/
> for details.
>
> Best Regards,
>
> Milan
>
>
>
>
> --
> View this message in context: http://forum.world.st/Attempting-to-run-Squeak-all-in-one-download-on-ubuntu-linux-tp4936001p4936157.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Hari
In reply to this post by Herbert König
Hi Herbert,

Thank you for the suggestion.

However I am still unsuccessful.

After executing your suggested command, I got the following error message:

"Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
Using /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
could not find display driver vm-display-X11; either:
  - check that /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so exists, or
  - use the '-plugins <path>' option to tell me where it is, or
  - remove DISPLAY from your environment.
Aborted (core dumped)"

Kind regards,

Hari
Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Herbert König
Hi Hari,

sorry, I'm an inexperienced Linux user. I got this knowledge from:

  https://pharoweekly.wordpress.com/2015/02/14/pharo-ubuntu-14-04-1-lts-64-bit/

Obviously you are one step further, as there is no more complaint about
missing libc.

Have you checked the current complaint about missing vm-display.....so?

I checked in my Windows installation and the .so exists in the required
place. So if it doesn't exist in your folder, try to download the
all-in-one a second time.

BTW, a minute ago Tobias posted some links in the Packaging thread that
seem relevant.


Cheers,

Herbert

Am 27.02.2017 um 22:19 schrieb Hari:

> Hi Herbert,
>
> Thank you for the suggestion.
>
> However I am still unsuccessful.
>
> After executing your suggested command, I got the following error message:
>
> "Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
> Using
> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
> could not find display driver vm-display-X11; either:
>    - check that
> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so
> exists, or
>    - use the '-plugins <path>' option to tell me where it is, or
>    - remove DISPLAY from your environment.
> Aborted (core dumped)"
>
> Kind regards,
>
> Hari
>
>
>
> --
> View this message in context: http://forum.world.st/Attempting-to-run-Squeak-all-in-one-download-on-ubuntu-linux-tp4936001p4936238.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Levente Uzonyi
In reply to this post by Hari
On Mon, 27 Feb 2017, Hari wrote:

> Hi Herbert,
>
> Thank you for the suggestion.
>
> However I am still unsuccessful.
>
> After executing your suggested command, I got the following error message:
>
> "Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
> Using
> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
> could not find display driver vm-display-X11; either:
>   - check that
> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so
> exists, or
>   - use the '-plugins <path>' option to tell me where it is, or
>   - remove DISPLAY from your environment.
> Aborted (core dumped)"
As the program says, check if /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so exists (it should) by running

$ ls /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so

If it does exist, see what ldd says about it:

$ ldd /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so

If there are missing dependencies, then you'll have to install more 32-bit
libraries. Feel free to paste the result here if you want to run a 32-bit
version.
Or you can download the 64-bit image+vm and the sources file. Those should
work out of the box on your 64-bit OS.

Levente

>
> Kind regards,
>
> Hari
>
>
>
> --
> View this message in context: http://forum.world.st/Attempting-to-run-Squeak-all-in-one-download-on-ubuntu-linux-tp4936001p4936238.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Tobias Pape
Hi Herbert,

On 27.02.2017, at 23:29, Levente Uzonyi <[hidden email]> wrote:

> On Mon, 27 Feb 2017, Hari wrote:
>
>> Hi Herbert,
>>
>> Thank you for the suggestion.
>> However I am still unsuccessful.
>>
>> After executing your suggested command, I got the following error message:
>>
>> "Running 32-bit Squeak on a 64-bit System. install-libs32 may install them.
>> Using
>> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/bin/squeak...
>> could not find display driver vm-display-X11; either:
>>   - check that
>> /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so
>> exists, or
>>   - use the '-plugins <path>' option to tell me where it is, or
>>   - remove DISPLAY from your environment.
>> Aborted (core dumped)"

Btw, does 17.04 ship with Wayland, by any chance?

Best regards
        -Tobias


>
> As the program says, check if /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so exists (it should) by running
>
> $ ls /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so
>
> If it does exist, see what ldd says about it:
>
> $ ldd /home/username/Downloads/Squeak5.1-16549-32bit-All-in-One.app/Contents/Linux-i686/lib/squeak/5.0-201608171728//vm-display-X11.so
>
> If there are missing dependencies, then you'll have to install more 32-bit libraries. Feel free to paste the result here if you want to run a 32-bit version.
> Or you can download the 64-bit image+vm and the sources file. Those should work out of the box on your 64-bit OS.
>
> Levente
>
>>
>> Kind regards,
>>
>> Hari
>>
>>
>>
>> --
>> View this message in context: http://forum.world.st/Attempting-to-run-Squeak-all-in-one-download-on-ubuntu-linux-tp4936001p4936238.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Hari
In reply to this post by Levente Uzonyi
Hi Milan,

Thank you.

The instructions at

https://milanvavra.wordpress.com/2017/02/27/squeak-5-1-32bit-installation-on-ubuntu-17-04-64bit-beta1-gnome/ 

are very clear, well presented and worked for me (my image is running... woohoo!)

I think it would be worth considering transferring your linux instructions to the website and including in both the linux and all-in-one download.

Kind regards,

Hari

Reply | Threaded
Open this post in threaded view
|

Re: Attempting to run Squeak all-in-one download on ubuntu linux

Hari
In reply to this post by Levente Uzonyi
Hi Levente,
Thank you for your response.
I followed Milan's instructions and they worked.
Be that as it may, in respect of your questions, two comments:
1. There is a vm-display-X11 but not a vm-display-X11.so. I'm not sure if the extension is hidden, however both within gnome and in the shell, the extension doesn't appear in the name.
2. I'm not clear why there are two forward slashes before 'vm-display-X11.so' in the path.
Kind regards,
Hari