gtkdoc-scan: 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-scan - 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-scan - from package: gtk-doc-tools

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