i am trying to compile a github project https://github.com/ykazakov/cb-reasoner/blob/master/INSTALL. However upon compiling i am getting “Unbound module Ocamlbuild_pack.Ocamlbuild_Myocamlbuild_config” error. A screenshot is as follows:
shah@shah-rowdy:~/Desktop/reasoners/cb-reasoner-master$ make
descending to src
make[1]: Entering directory ‘/home/shah/Desktop/reasoners/cb-reasoner-master/src’
ocamlbuild -build-dir _build main/cb.native
- ocamlopt.opt unix.cmxa -I /home/shah/.opam/default/lib/ocamlbuild /home/shah/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/shah/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File “myocamlbuild.ml”, line 13, characters 11-64:
Error: Unbound module Ocamlbuild_pack.Ocamlbuild_Myocamlbuild_config
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
Makefile:8: recipe for target ‘main’ failed
make[1]: *** [main] Error 10
make[1]: Leaving directory ‘/home/shah/Desktop/reasoners/cb-reasoner-master/src’
Makefile:14: recipe for target ‘src’ failed
make: *** [src] Error 2
I am new to ocaml and linux. Pls give elaborated answer to my problem. Thanks