When I try to install Ruby from source, no matter what the version is, I am getting the following error.
$ ./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`
I tried to fix the error by installing gcc
and g++
but that doesn't help.
The full detailed log available here: https://gist.github.com/satnami/8ac0688c287a8d5c859c5ba064d9bfca
Extra details
Linux version:
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 version:
gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1)
OpenssL version:
OpenSSL 1.0.2g-fips 1 Mar 2016