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

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

On Debian possible default full paths are:

/usr/bin/cubemap - from package: cubemap

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