Skip to content
Advertisement

How to run Rebol script on Linux 64-bit

I can not run this sample Rebol script

JavaScript

on Debian 10 Linux 64-bit OS.

The script is from the official Rebol tutorial.

I’m trying to run it using this command from console:

JavaScript

but it fails with error message

JavaScript

I use the latest available build for Linux x86-64 from the official Rebol site.

JavaScript

How to run the script?

Does Rebol support GUI on Linux?

I’ve found in the documentation Rebol runs on all mainstream platforms:

REBOL is cross-platform. A program written on Windows runs equally well on Linux, BSD, OS X, and many other platforms… with no changes necessary.

Source: http://www.rebol.com/what-rebol.html

But I tried this script and also an Bookmarks example with layout dialect and they both fail with has no value error.

I also tried to add .r extension to the script but it seems it doesn’t matter.

Advertisement

Answer

The problem is that Rebol has two versions: core and view. And core version does not has graphics support. But view version does not support 64-bit Linux directly now. No 64-bit build exists, but there’s 32-bit build.

To run an alert example using 32-bit build of Rebol View one may need to install required 32-bit libraries (and if I remember correctly first somehow enable 32-bit arch support on 64-bit linux):

On my Debian 10 machine I needed libx11.so.6 and some other X11 related libs:

JavaScript

Now the script can be run by command such as:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement