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

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

On Debian possible default full paths are:

/usr/bin/text2wave - from package: festival

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