gift-perl-example-server.pl: 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-perl-example-server.pl - from package: gnuift-perl

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