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

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