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

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