depth-tex-compare: 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/depth-tex-compare - from package: piglit

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