compile: 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/lib/golang/pkg/bootstrap/bin/compile - from package: golang-bin
/usr/lib64/R/bin/COMPILE - from package: R-core
/usr/lib/R/bin/COMPILE - from package: R-core

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/R/bin/COMPILE - from package: r-base-core

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