[compiler-hacking] Use of opam-compiler-conf: install packages

Jeremy Yallop yallop at gmail.com
Mon Apr 4 06:36:15 BST 2016


Dear Olivier,

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
compilers:

   https://github.com/ocaml/opam-repository/blob/master/packages/core/core.113.33.00/opam#L29

Whether they'll actually build is another question, of course.

Kind regards,

Jeremy.


More information about the Cam-compiler-hacking mailing list