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

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