wf_generate: 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/wf_generate - from package: xenomai-runtime

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