genpat: 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 Debian possible default full paths are:

/usr/bin/genpat - from package: nsis

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