piglit-print-commands: 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/piglit-print-commands - from package: piglit

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