Hacker Newsnew | past | comments | ask | show | jobs | submit | goraci's commentslogin

I wish i could try this editor but had no luck compiling it. Some troubles with deps (lablgtk) and then infinite compile cycle issue i could not resolve. Would be nice to have deps included in install script or something.


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...


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+


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


"opam install -y ocamleditor" finally did the trick ) thanks


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: