News for hackers. Stuff that matters.
Re:OCamlEditor by edwintorok on Tuesday November 25, 2014 @01:04PM (#8658804)
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#issuecomme...

Re:OCamlEditor by goraci on Tuesday November 25, 2014 @01:10PM (#8658830)
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
Re:OCamlEditor by goraci on Wednesday November 26, 2014 @05:00AM (#8661713)
"opam install -y ocamleditor" finally did the trick ) thanks