ccmake: 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/ccmake - from package: cmake

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

On Debian possible default full paths are:

/usr/bin/ccmake - from package: cmake-curses-gui

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