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

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

On Debian possible default full paths are:

/usr/bin/cpp - from package: cpp

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