yexpand-g77: 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/yexpand-g77 - from package: patchy-g77

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