makedist: 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/makedist - from package: dist

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