I am trying to install liquidsoap from source. While execution ./configure script, I saw following error:
****** Configuring OCaml-cry
./configure --with-cry-dir=../ocaml-cry/src
configure: WARNING: unrecognized options: --with-cry-dir
configuring ocaml-cry 0.3.0
....
checking for ocamlfind... ocamlfind
checking for ocaml standard library path... /usr/lib/ocaml
checking for caml/threads.h... yes
checking for gcc option to produce PIC... -fPIC
checking for ocaml bytes module... configure: error: Not found.
I tried to find OCaml bytes module.. but I can't, as in attitude, as in google. How can I resolve this dependency?
As @Théo pointed out, the Bytes module is new in OCaml 4.02.0.
Initially it's mostly a synonym for the String module.
If you add this:
to your code you might get it to compile.
Or you could update to a newer OCaml version.