ocaml-xgettext: 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/ocaml-xgettext - from package: ocaml-gettext-devel

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

On Debian possible default full paths are:

/usr/bin/ocaml-xgettext - from package: libgettext-ocaml-dev

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