ocamlc: 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/ocamlc - from package: ocaml

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

On Debian possible default full paths are:

/usr/bin/ocamlc - from package: ocaml-nox

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