ml-build: 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/ml-build - from package: smlnj
/usr/lib/smlnj/bin/ml-build - from package: smlnj

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