gtkdoc-check: 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/gtkdoc-check - from package: gtk-doc

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

On Debian possible default full paths are:

/usr/bin/gtkdoc-check - from package: gtk-doc-tools

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