xgettext.pl: 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/xgettext.pl - from package: perl-Locale-Maketext-Lexicon

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

On Debian possible default full paths are:

/usr/bin/xgettext.pl - from package: liblocale-maketext-lexicon-perl

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