我正在尝试在Raspberry Pi 3上安装Rakudo Star 2018.04。

我做:

sudo perl Configure.pl --gen-moar --gen-nqp --prefix ~/rakudo


并成功完成。

然后我尝试:

sudo make-install


但是它失败了:

The following step can take a long time, please be patient.
/home/pi/rakudo/bin/moar --libpath="blib" --libpath="/home/pi/rakudo/share/nqp/lib" --libpath="/home/pi/rakudo/share/nqp/lib" perl6.moarvm --nqp-lib=blib --setting=NULL --ll-exception --optimize=3 --target=mbc --stagestats --output=CORE.setting.moarvm gen/moar/CORE.setting
Stage start      :   0.000
Stage parse      : 459.019
Stage syntaxcheck:   0.000
Stage ast        :   0.000
Stage optimize   : Killed
Makefile:504: recipe for target 'CORE.setting.moarvm' failed
make[1]: *** [CORE.setting.moarvm] Error 137
make[1]: Leaving directory '/home/pi/rakudo-star-2018.04/rakudo'
Makefile:43: recipe for target 'rakudo/perl6-m' failed
make: *** [rakudo/perl6-m] Error 2


系统信息:

OS: Raspbian GNU/Linux 9.4 (stretch) armv7l
Model: Raspberry Pi 3 Model B Rev 1.2
Kernel: 4.14.34-v7+
Uptime: 62 days, 31 minutes
Packages: 552
Shell: bash 4.4.12
CPU: ARMv7 rev 4 (v7l) (4) @ 1.2GHz
Memory: 137MB / 927MB


有任何想法吗?

最佳答案

您可以尝试增加交换空间,如indicated in this answer in the RasPi SO。但是它会很慢,但是,一旦构建完成,我想它就是永久构建的。

10-07 14:58