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

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

On Debian possible default full paths are:

/usr/bin/gengetopt - from package: gengetopt

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