tolua++: 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/tolua++ - from package: tolua++-devel

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