dat2c: 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/dat2c - from package: liballegro4-dev

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