wmlindent: 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/wmlindent - from package: wesnoth-tools

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