g.mkfontcap: 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/lib64/grass-6.4.4/bin/g.mkfontcap - from package: grass

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

On Debian possible default full paths are:

/usr/lib/grass64/bin/g.mkfontcap - from package: grass-core

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