genmipmap-errors: 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/piglit/bin/genmipmap-errors - from package: piglit

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