makeindex: 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/makeindex - from package: texlive

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

On Debian possible default full paths are:

/usr/bin/makeindex - from package: texlive-binaries

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