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

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

On Debian possible default full paths are:

/usr/bin/wmmenugen - from package: wmaker

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