make-database: 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/lib/python2.6/site-packages/viewvc/bin/make-database - from package: viewvc

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

On Debian possible default full paths are:

/usr/share/gforge/www/scm/viewvc/bin/make-database - from package: gforge-web-apache2
/usr/lib/viewvc/bin/make-database - from package: viewvc-query

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