pgmmake: 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/pgmmake - from package: netpbm-progs

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