makepage: 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/makepage - from package: discount

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