gprslave: 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 Debian possible default full paths are:

/usr/bin/gprslave - from package: gprbuild

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