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

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

On Debian possible default full paths are:

/usr/bin/pgmtolispm - from package: netpbm

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