squeak-smalltalk / squeak.org

Squeak/Smalltalk Website
http://squeak.org
36 stars 23 forks source link

What are the 32 bit libraries needed to run on a 64 bit arm linux machine? #43

Open pdebruic opened 2 years ago

pdebruic commented 2 years ago

Hi -

I'm trying to see if the squeak linux ARM vm Smalltalk>>#highResClock works. The pharo one does not. So AndreasSystemProfiler doesn't work.

On the squeak.org website, downloads page, Advanced section (https://squeak.org/downloads/) there is this snippet:

Linux: Make sure that you have 32-bit libraries and X11 installed, and that the squeak.sh script is executable. 
Run the script with the image file as a parameter. 

But I cannot find which libraries are necessary on squeak.org. So installing them on this ubuntu 22.04 64bit arm VM is tricky.

krono commented 2 years ago

Thansk for pointing this out.

The snippet is no longer correct. It stems from the time when 32bit vm+image was predominant, even on x86_64. But in particular for aarch64/armv8, this snippet is no longer correct.

The following is not a fix but, if at all, a workaround:
The script for preparing CI for the OpenSmalltalk-VM contains all dev-libraries necessary to build the VM: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/scripts/ci/actions_prepare_linux_arm.sh
Transitively, that installs all runtime libraries for the dev libraries. This is definitively more than strictly necessary but should get you at least a working VM.

That said, we need:

eliotmiranda commented 1 year ago

Hi Paul,

AFAIA the 32-bit ARM VM’s hi rez does not work. The 64-bit VM’s does work.

,,,^..^,,, (phone)

On May 3, 2022, at 8:54 AM, Paul DeBruicker @.***> wrote:

 Hi -

I'm trying to see if the squeak linux ARM vm Smalltalk>>#highResClock works. The pharo one does not. So AndreasSystemProfiler doesn't work.

On the squeak.org website, downloads page, Advanced section (https://squeak.org/downloads/) there is this snippet:

Linux: Make sure that you have 32-bit libraries and X11 installed, and that the squeak.sh script is executable. Run the script with the image file as a parameter. But I cannot find which libraries are necessary on squeak.org. So installing them on this ubuntu 22.04 64bit arm VM is tricky.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.