vapicheck: 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/vapicheck - from package: vala-tools

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