gmake: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/gmake - from package: make

You may install the required package with command yum install {package}
Error in other languages:
gmake: bevel nie gevind nie
gmake: comandă negăsită
gmake: comando não encontrado
gmake: commande introuvable
gmake: command not found
gmake: käsku ei ole
gmake: không tìm thấy lệnh
gmake: komanda nerasta
gmake: Kommando nicht gefunden.
gmake: kommandot finns inte
gmake: komut yok
gmake: nie znaleziono polecenia
gmake: níor aimsíodh an t-ordú
gmake: no se encontró la orden
gmake: no s'ha trobat l'ordre
gmake: opdracht niet gevonden
gmake: parancs nem található
gmake: perintah tidak ditemukan
gmake: príkaz nenájdený
gmake: příkaz nenalezen
gmake: команда не найдена
gmake: командата не е открита
gmake: 命令找不到
gmake: コマンドが見つかりません