Rebol3 在 Debian 8 上出现准备错误
Rebol3 make prep error on Debian 8
当我尝试在 64 位 Debian 上 运行 make prep
时,构建失败并显示错误消息
Compressed 11626 to 3357 bytes: 28 percent of original
./r3-make -qs ../src/tools/make-os-ext.r # ok, but not always
--- Make OS Ext Lib --- Version: 0
** Script error: invalid argument: %../os/none
** Where: change-dir do either either either -apply-
** Near: change-dir append %../os/none target files: [
%host-lib....
我需要重新制作 make 文件吗?对于这个版本的 Debian,什么是正确的 OS_ID?是否有有效 OS_ID 值的列表?我计划在其他平台上构建 rebol3,例如阿罗斯 i386。
源代码是从 rebol github repo and I downloaded the linux x64 binary from here 下载的 zip 文件。将二进制文件复制到 make 子目录并重命名为 r3-make
后,我从 make 子目录输入命令 make prep
。
构建 Rebol 3 的完整规范步骤列表(来自 https://github.com/rebol/rebol; or the "community" repository at https://github.com/rebolsource/r3 的 "mainline" 存储库)目前是:
- 获取 Rebol 3 源代码分发。
- 为您的平台下载预构建的 Rebol 3 二进制文件,将其保存为
r3-make
(或 r3-make.exe
,如果在 Windows 上)在 make/
子目录中你的消息来源。
- 从终端,在源的
make/
子目录中,运行:
make make OS_ID=<tyour-target-platform>
make clean
make prep
make r3
(或 make r3.exe
,如果 Windows)
其中 <tuple-of-your-target-platform>
是 a Rebol tuple! 您要构建的目标的 Rebol 平台代码。几个常见的目标元组:
0.2.5
: 32 位 OSX x86.
0.3.1
: 32 位 Windows x86
0.4.4
: 32 位 Linux x86
如需了解更多信息,请查看源代码附带的 src/tools/systems.r
。
对于您的具体情况,有两个注意事项需要注意:
- Mainline rebol/rebol 目前没有任何 64 位支持。 (但请参阅脚注 1。)
- 您使用的
r3-make
二进制文件本身必须构建到您打算构建的新 R3 的构建系统知道的目标。
这两个警告的组合,当应用于您的特定情况时,意味着您不能使用 64 位 (0.4.40) r3-make(Linux x64 二进制文件,您从https://www.rebolsource.net) to bootstrap a build for sources which don't know about 0.4.40 -- and, indeed the sources you obtained from https://github.com/rebol/rebol don't know about 0.4.40.
脚注 1:rebolsource/r3 fork. Other forks (such as Atronix', Saphirion's, or the most recent unifying effort, Ren/C) 中提供了上述构建指令可用的 64 位支持)也支持 64 位构建,但构建指令适用于那些一般不同。
当我尝试在 64 位 Debian 上 运行 make prep
时,构建失败并显示错误消息
Compressed 11626 to 3357 bytes: 28 percent of original
./r3-make -qs ../src/tools/make-os-ext.r # ok, but not always
--- Make OS Ext Lib --- Version: 0
** Script error: invalid argument: %../os/none
** Where: change-dir do either either either -apply-
** Near: change-dir append %../os/none target files: [
%host-lib....
我需要重新制作 make 文件吗?对于这个版本的 Debian,什么是正确的 OS_ID?是否有有效 OS_ID 值的列表?我计划在其他平台上构建 rebol3,例如阿罗斯 i386。
源代码是从 rebol github repo and I downloaded the linux x64 binary from here 下载的 zip 文件。将二进制文件复制到 make 子目录并重命名为 r3-make
后,我从 make 子目录输入命令 make prep
。
构建 Rebol 3 的完整规范步骤列表(来自 https://github.com/rebol/rebol; or the "community" repository at https://github.com/rebolsource/r3 的 "mainline" 存储库)目前是:
- 获取 Rebol 3 源代码分发。
- 为您的平台下载预构建的 Rebol 3 二进制文件,将其保存为
r3-make
(或r3-make.exe
,如果在 Windows 上)在make/
子目录中你的消息来源。 - 从终端,在源的
make/
子目录中,运行:make make OS_ID=<tyour-target-platform>
make clean
make prep
make r3
(或make r3.exe
,如果 Windows)
其中 <tuple-of-your-target-platform>
是 a Rebol tuple! 您要构建的目标的 Rebol 平台代码。几个常见的目标元组:
0.2.5
: 32 位 OSX x86.0.3.1
: 32 位 Windows x860.4.4
: 32 位 Linux x86
如需了解更多信息,请查看源代码附带的 src/tools/systems.r
。
对于您的具体情况,有两个注意事项需要注意:
- Mainline rebol/rebol 目前没有任何 64 位支持。 (但请参阅脚注 1。)
- 您使用的
r3-make
二进制文件本身必须构建到您打算构建的新 R3 的构建系统知道的目标。
这两个警告的组合,当应用于您的特定情况时,意味着您不能使用 64 位 (0.4.40) r3-make(Linux x64 二进制文件,您从https://www.rebolsource.net) to bootstrap a build for sources which don't know about 0.4.40 -- and, indeed the sources you obtained from https://github.com/rebol/rebol don't know about 0.4.40.
脚注 1:rebolsource/r3 fork. Other forks (such as Atronix', Saphirion's, or the most recent unifying effort, Ren/C) 中提供了上述构建指令可用的 64 位支持)也支持 64 位构建,但构建指令适用于那些一般不同。