【发布时间】:2018-06-11 13:33:23
【问题描述】:
当我尝试从源代码安装 Ruby 时,无论版本是什么,我都会收到以下错误。
$ ./configure
....
....
checking whether gcc needs -traditional... no
checking for ld... ld
checking whether the linker is GNU ld... yes
checking whether gcc -E accepts -o... yes
checking for ranlib... ranlib
checking for ar... ar
checking for as... as
checking for objdump... objdump
checking for objcopy... objcopy
checking for nm... nm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... no
....
....
....
checking if make is GNU make... make: echo: Command not found
make: *** [all] Error 127
no
checking for safe null command for make... :
checking for nroff... /usr/bin/nroff`
我尝试通过安装 gcc 和 g++ 来修复错误,但这没有帮助。
完整的详细日志在这里:https://gist.github.com/satnami/8ac0688c287a8d5c859c5ba064d9bfca
额外细节
Linux 版本:
Linux version 4.4.0-104-generic(buildd@lgw01-amd64-030 (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) )
gcc 版本:
gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1)
OpenssL 版本:
OpenSSL 1.0.2g-fips 1 Mar 2016
【问题讨论】: