Error in installation with opam
Created by: luc--
Hello, while I was trying to install stog through opam, it didn't work : opam said me that the compilations of ulex.1.1 and xtmlp.0.9 had failed.
[ERROR] The compilation of ulex.1.1 failed.
Removing ulex.1.1.
ocamlfind remove ulex
Building xtmpl.0.9:
make all
make install
[ERROR] The compilation of xtmpl.0.9 failed.
Removing xtmpl.0.9.
ocamlfind remove xtmpl
#=== ERROR while installing ulex.1.1 ==========================================#
# opam-version 1.2.0
# os linux
# command make
# path /home/luc/.opam/system/build/ulex.1.1
# compiler system (4.01.0)
# exit-code 2
# env-file /home/luc/.opam/system/build/ulex.1.1/ulex-17938-d8a4ae.env
# stdout-file /home/luc/.opam/system/build/ulex.1.1/ulex-17938-d8a4ae.out
# stderr-file /home/luc/.opam/system/build/ulex.1.1/ulex-17938-d8a4ae.err
### stdout ###
# ...[truncated]
# /usr/bin/ocamlc unix.cma -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cma myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmo -o myocamlbuild
# /usr/bin/ocamldep -pp camlp4orf -modules pa_ulex.ml > pa_ulex.ml.depends
# + /usr/bin/ocamldep -pp camlp4orf -modules pa_ulex.ml > pa_ulex.ml.depends
# sh: 1: camlp4orf: not found
# Preprocessing error on file pa_ulex.ml
# Error while running external preprocessor
# Command line: camlp4orf 'pa_ulex.ml' > /tmp/ocamlpp546363
#
# Command exited with code 2.
# Makefile:8: recipe for target 'all' failed
### stderr ###
# make: *** [all] Error 10
#=== ERROR while installing xtmpl.0.9 =========================================#
# opam-version 1.2.0
# os linux
# command make all
# path /home/luc/.opam/system/build/xtmpl.0.9
# compiler system (4.01.0)
# exit-code 2
# env-file /home/luc/.opam/system/build/xtmpl.0.9/xtmpl-17962-a71bb4.env
# stdout-file /home/luc/.opam/system/build/xtmpl.0.9/xtmpl-17962-a71bb4.out
# stderr-file /home/luc/.opam/system/build/xtmpl.0.9/xtmpl-17962-a71bb4.err
### stdout ###
# ocamlc.opt -g -c `ocamlfind query -i-format xmlm` -annot -rectypes xtmpl.mli
# Makefile:58: recipe for target 'xtmpl.cmi' failed
### stderr ###
# /bin/sh: 1: ocamlc.opt: not found
# make: *** [xtmpl.cmi] Error 127
Could someone please tell me what happened, and how to resolve this issue ?