sh-linux-gnu-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

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/sh-linux-gnu-cpp - from package: gcc-sh-linux-gnu

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