Ubuntu 14.04. I used opam to install lablgtk ( before that installed gtk+2.0 ) also installed xml-light with opam and then got infinite loop when compiling. Ocaml 4+
Re:OCamlEditor
by edwintorok on Tuesday November 25, 2014 @02:06PM
(#8659113)
Did you run this before building?: eval `opam config env`
I tried this Dockerfile and it succeeded, maybe compare your steps with the ones below.
If it still doesn't work try moving this discussion to stackoverflow or the OCaml mailing list and provide the output when the infinite loop happens.
FROM ubuntu:trusty
RUN apt-get -y update && apt-get -y install opam aspcud && opam init -y
RUN apt-get install -y m4 libexpat1-dev libgtk2.0-dev
RUN opam install -y ocamleditor
What OS/distribution are you using? Also what compiler version, apparently it requires OCaml = 4.01: https://github.com/ocaml/opam-repository/pull/537#issuecomme...