rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

Document container setup for OCaml and dune

Open cristianoc opened this issue 3 months ago • 3 comments

Summary

  • add container setup instructions describing how to install OCaml and dune manually

Testing

  • not run (documentation change)

https://chatgpt.com/codex/tasks/task_e_68cb775741a0833193e0e6246b9b4b75

cristianoc avatar Sep 18 '25 04:09 cristianoc

@codex: do make test

cristianoc avatar Sep 18 '25 04:09 cristianoc

Summary

  • Attempted to run make test, but the build failed because dune could not find required OCaml libraries (flow_parser, ounit2, yojson, cmarkit) and the cppo preprocessing tool, so the test suite never executed.
  • Tried to bootstrap opam in order to install the missing packages, but the repository download was blocked with an HTTP 403 from the proxy, preventing dependency installation.

Testing

  • make test

View task →

I did not get this to go very far. Even instructing to install opam via apt-get, it always gets to the point where some fetch is blocked:

Attempted to install project dependencies with opam, but downloads from hosts such as erratique.ch, ocaml.janestreet.com, and gitlab.inria.fr were blocked by the proxy (curl exit code 56 / HTTP 403), leaving libraries like cmarkit, menhir, and sexplib0 unavailable.

cristianoc avatar Sep 19 '25 02:09 cristianoc