gccmakedep: 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/gccmakedep - from package: imake

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

On Debian possible default full paths are:

/usr/bin/gccmakedep - from package: xutils-dev

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