小编mar*_*arc的帖子

如何在低内存系统上使用RVM编译ruby?

rvm install 1.9.3
Run Code Online (Sandbox Code Playgroud)

导致make.log中的错误:

...
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/trans/emoji_sjis_kddi.c
gcc: internal compiler error: Killed (program cc1)
gcc: internal compiler error: Killed (program cc1)
gcc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
...
Run Code Online (Sandbox Code Playgroud)

dmesg 节目

[180031.341709] send sigkill to 3705 (cc1), adj 0, size 3394
Run Code Online (Sandbox Code Playgroud)

free 显示在某些时候运行配置过程:

             total       used       free     shared    buffers     cached
Mem:        241668     238676       2992          0         92       2020
-/+ buffers/cache:     236564       5104
Swap:       262140     262140          0
Run Code Online (Sandbox Code Playgroud)

所以我假设256MB RAM和256MB Swap不足以在其上编译Ruby. …

ruby gcc install low-memory rvm

13
推荐指数
1
解决办法
3414
查看次数

标签 统计

gcc ×1

install ×1

low-memory ×1

ruby ×1

rvm ×1