gift-modify-distance-matrix: 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/gift-modify-distance-matrix - from package: gnuift

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