sml.x86-linux: 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/lib/smlnj/bin/.heap/sml.x86-linux - from package: smlnj

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