scotch_gmap-long: 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/scotch_gmap-long - from package: scotch

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