如何在 Linux 64 位上 运行 Rebol 脚本
How to run Rebol script on Linux 64-bit
我不能运行 这个示例 Rebol 脚本
REBOL []
alert
"Hello World"
Debian 10 Linux 64 位 OS.
我正在尝试 运行 从控制台使用此命令:
$ rebol hi
但失败并显示错误消息
Script: "Untitled" (none)
** Script Error: alert has no value
** Near: alert "Hello World"
我使用来自官方 Rebol 站点的 the latest available build for Linux x86-64。
REBOL/Core 2.7.8.4.10 (23-Jan-2016)
Copyright 2016 REBOL Technologies
如何运行脚本?
Rebol 在 Linux 上支持 GUI 吗?
我在所有主流平台上的文档 Rebol 运行s 中找到:
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.
来源:http://www.rebol.com/what-rebol.html
但是我尝试了这个脚本以及一个使用 layout
方言的书签示例,但它们都失败了 has no value
错误。
我也尝试在脚本中添加 .r
扩展名,但似乎没关系。
问题是 Rebol 有两个版本:核心和
view。而且核心版没有图形支持。但是查看版本现在不直接支持64位Linux。不存在 64 位版本,但有 32 位版本。
运行 一个使用 32 位构建的 Rebol View 的警告示例可能需要安装所需的 32 位库(如果我没记错的话,首先以某种方式在 64 位上启用 32 位 arch 支持linux):
在我的 Debian 10 机器上,我需要 libx11.so.6
和其他一些与 X11 相关的库:
$ sudo apt install libx11-6:i386 libxext6:i386 libxt6:i386 libxaw7:i386 libfreetype6:i386
现在脚本可以运行通过命令如:
$ rebol hi.r
我不能运行 这个示例 Rebol 脚本
REBOL []
alert
"Hello World"
Debian 10 Linux 64 位 OS.
我正在尝试 运行 从控制台使用此命令:
$ rebol hi
但失败并显示错误消息
Script: "Untitled" (none)
** Script Error: alert has no value
** Near: alert "Hello World"
我使用来自官方 Rebol 站点的 the latest available build for Linux x86-64。
REBOL/Core 2.7.8.4.10 (23-Jan-2016)
Copyright 2016 REBOL Technologies
如何运行脚本?
Rebol 在 Linux 上支持 GUI 吗?
我在所有主流平台上的文档 Rebol 运行s 中找到:
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.
来源:http://www.rebol.com/what-rebol.html
但是我尝试了这个脚本以及一个使用 layout
方言的书签示例,但它们都失败了 has no value
错误。
我也尝试在脚本中添加 .r
扩展名,但似乎没关系。
问题是 Rebol 有两个版本:核心和 view。而且核心版没有图形支持。但是查看版本现在不直接支持64位Linux。不存在 64 位版本,但有 32 位版本。
运行 一个使用 32 位构建的 Rebol View 的警告示例可能需要安装所需的 32 位库(如果我没记错的话,首先以某种方式在 64 位上启用 32 位 arch 支持linux):
在我的 Debian 10 机器上,我需要 libx11.so.6
和其他一些与 X11 相关的库:
$ sudo apt install libx11-6:i386 libxext6:i386 libxt6:i386 libxaw7:i386 libfreetype6:i386
现在脚本可以运行通过命令如:
$ rebol hi.r