vigra-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
/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 CentOS possible default full paths are:

/usr/bin/vigra-config - from package: vigra-devel

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/vigra-config - from package: libvigraimpex-dev

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