3 ms·
Usually it is a lot easier to try out OCaml applications using OPAM than building by hand, if your platform has OPAM available. What OS/distribution are you us
by edwintorok 12y ago
Usually it is a lot easier to try out OCaml applications using OPAM than building by hand, if your platform has OPAM available.
What OS/distribution are you using?
Also what compiler version, apparently it requires OCaml = 4.01:
https://github.com/ocaml/opam-repository/pull/537#issuecomment-23628104 https://github.com/ocaml/opam-repository/pull/537#issuecomme...
- goraci 12y agoUbuntu 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+
- edwintorok 12y agoDid 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
- goraci 12y ago"opam install -y ocamleditor" finally did the trick ) thanks