在 Chicken Scheme 中安装 r7rs egg 失败
Installing r7rs egg in Chicken Scheme fails
我正在尝试通过安装 r7rs
egg 在 Chicken Scheme 中获得 R7RS 支持。
但是,它在安装 matchable
egg 时失败了。
下面是执行sudo chicken-install r7rs -v
产生的日志:
checking r7rs ...
checking platform for `r7rs'
checking dependencies for `r7rs'
missing: matchable, srfi-1, srfi-13
matchable located at /root/.cache/chicken-install/matchable
srfi-1 located at /root/.cache/chicken-install/srfi-1
srfi-13 located at /root/.cache/chicken-install/srfi-13
checking srfi-13 ...
checking platform for `srfi-13'
checking dependencies for `srfi-13'
missing: srfi-14
srfi-14 located at /root/.cache/chicken-install/srfi-14
checking srfi-14 ...
checking platform for `srfi-14'
checking dependencies for `srfi-14'
checking srfi-1 ...
checking platform for `srfi-1'
checking dependencies for `srfi-1' checking matchable ... checking platform for `matchable'
checking dependencies for `matchable'
install order:
("matchable" "srfi-1" "srfi-14" "srfi-13" "r7rs")
building matchable running script /root/.cache/chicken-install/matchable/matchable.build.sh
executing: "sh /root/.cache/chicken-install/matchable/matchable.build.sh"
/usr/bin/csc -regenerate-import-libraries -setup-mode -static -I /root/.cache/chicken-install/matchable -emit-link-fi
le /root/.cache/chicken-install/matchable/matchable.link -host -D compiling-extension -c -unit matchable -D compiling-st
atic-extension -C -I/root/.cache/chicken-install/matchable -O2 -d1 matchable.scm -o /root/.cache/chicken-install/matchab
le/matchable.static.o
x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
Error: shell command terminated with non-zero exit status 256: 'x86_64-linux-gnu-gcc' '/root/.cache/chicken-install/matchable/matchable.static.c' -o '/root/.cache/chicken-install/matchable/matchable.static.o' -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -O2 -fdebug-prefix-map=/build/chicken-8b5V5S/chicken-5.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/root/.cache/chicken-install/matchable -I/usr/include/chicken
Error: shell command terminated with nonzero exit code
256
"sh /root/.cache/chicken-install/matchable/matchable.build.sh"
我正在使用 Chicken 5.1.0(修订版 8e62f718),这是 Ubuntu 20.04.1 LTS 官方存储库中的最新版本。
我能做些什么来解决这个错误吗?
我认为你需要弄清楚为什么它被杀死了(哪个信号)。也许它 运行 内存不足?
您可以尝试将 CSC_OPTIONS=-verbose
放入您的环境中,以准确找出哪个命令失败。然后运行再动手一遍,了解更多。
我正在尝试通过安装 r7rs
egg 在 Chicken Scheme 中获得 R7RS 支持。
但是,它在安装 matchable
egg 时失败了。
下面是执行sudo chicken-install r7rs -v
产生的日志:
checking r7rs ...
checking platform for `r7rs'
checking dependencies for `r7rs'
missing: matchable, srfi-1, srfi-13
matchable located at /root/.cache/chicken-install/matchable
srfi-1 located at /root/.cache/chicken-install/srfi-1
srfi-13 located at /root/.cache/chicken-install/srfi-13
checking srfi-13 ...
checking platform for `srfi-13'
checking dependencies for `srfi-13'
missing: srfi-14
srfi-14 located at /root/.cache/chicken-install/srfi-14
checking srfi-14 ...
checking platform for `srfi-14'
checking dependencies for `srfi-14'
checking srfi-1 ...
checking platform for `srfi-1'
checking dependencies for `srfi-1' checking matchable ... checking platform for `matchable'
checking dependencies for `matchable'
install order:
("matchable" "srfi-1" "srfi-14" "srfi-13" "r7rs")
building matchable running script /root/.cache/chicken-install/matchable/matchable.build.sh
executing: "sh /root/.cache/chicken-install/matchable/matchable.build.sh"
/usr/bin/csc -regenerate-import-libraries -setup-mode -static -I /root/.cache/chicken-install/matchable -emit-link-fi
le /root/.cache/chicken-install/matchable/matchable.link -host -D compiling-extension -c -unit matchable -D compiling-st
atic-extension -C -I/root/.cache/chicken-install/matchable -O2 -d1 matchable.scm -o /root/.cache/chicken-install/matchab
le/matchable.static.o
x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
Error: shell command terminated with non-zero exit status 256: 'x86_64-linux-gnu-gcc' '/root/.cache/chicken-install/matchable/matchable.static.c' -o '/root/.cache/chicken-install/matchable/matchable.static.o' -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -g -O2 -fdebug-prefix-map=/build/chicken-8b5V5S/chicken-5.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/root/.cache/chicken-install/matchable -I/usr/include/chicken
Error: shell command terminated with nonzero exit code
256
"sh /root/.cache/chicken-install/matchable/matchable.build.sh"
我正在使用 Chicken 5.1.0(修订版 8e62f718),这是 Ubuntu 20.04.1 LTS 官方存储库中的最新版本。
我能做些什么来解决这个错误吗?
我认为你需要弄清楚为什么它被杀死了(哪个信号)。也许它 运行 内存不足?
您可以尝试将 CSC_OPTIONS=-verbose
放入您的环境中,以准确找出哪个命令失败。然后运行再动手一遍,了解更多。