ma2asm: 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/ma2asm - from package: gprolog
/usr/lib64/gprolog-1.3.1/bin/ma2asm - from package: gprolog

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

On Debian possible default full paths are:

/usr/lib/gprolog-iso/bin/ma2asm - from package: gprolog

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