[compiler-hacking] Use of opam-compiler-conf: install packages
yallop at gmail.com
Mon Apr 4 06:36:15 BST 2016
On 3 April 2016 at 18:54, Olivier Nicole
<olivier.nicole at ensta-paristech.fr> wrote:
> I switched to a modified version of OCaml using Gabriel Scherer's
> opam-compiler-conf script. But when I try to install the core package, I
> get a version error:
>> $ ocaml -version
>> The OCaml toplevel, version 4.04.0+dev0-2016-02-18
>> $ opam install core
>> [ERROR] core is not available because your system doesn't comply with ocaml-version
>> >= "4.02.1" & ocaml-version < "4.03".
Is your OPAM package list up-to-date? Recent versions of Core (e.g.
113.33.00) should meet the version constraints for modified trunk
Whether they'll actually build is another question, of course.
More information about the Cam-compiler-hacking