cdmake: 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/cdmake - from package: cernlib-packlib

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