i586-mingw32msvc-windres: 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/i586-mingw32msvc-windres - from package: mingw32-binutils

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