mkdgifft: 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/mkdgifft - from package: directfb

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