avifile-config: 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

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/avifile-config - from package: libavifile-0.7-dev

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