trhsx: 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/trhsx - from package: libghc-hsx-dev

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