x86_64-w64-mingw32-ocamlopt: 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/x86_64-w64-mingw32-ocamlopt - from package: ocaml-mingw-w64-x86-64

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