ps2gif: 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/ps2gif - from package: tth-common

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