<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, Olivier<div class=""><br class=""></div><div class="">Which version of Core are you trying to install? From opam page[1], I can see Jane Street has relaxed version constraint since 113.24.01.</div><div class="">Another way is to download a copy of the source code locally, modify the constraint in opam file, and use ``opam pin add core .`` to install this local copy.</div><div class=""><br class=""></div><div class="">[1]: <a href="https://github.com/ocaml/opam-repository/tree/master/packages/core" class="">https://github.com/ocaml/opam-repository/tree/master/packages/core</a></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 4, 2016, at 2:54 AM, Olivier Nicole <<a href="mailto:olivier.nicole@ensta-paristech.fr" class="">olivier.nicole@ensta-paristech.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello,<br class=""><br class="">I switched to a modified version of OCaml using Gabriel Scherer's<br class="">opam-compiler-conf script. But when I try to install the core package, I<br class="">get a version error:<br class=""><br class=""><blockquote type="cite" class="">$ ocaml -version<br class="">The OCaml toplevel, version 4.04.0+dev0-2016-02-18<br class="">$ opam install core<br class="">[ERROR] core is not available because your system doesn't comply with ocaml-version<br class=""><blockquote type="cite" class="">= "4.02.1" & ocaml-version < "4.03".<br class=""></blockquote></blockquote><br class="">Is there any clean way to install packages with a modified version of<br class="">the compiler?<br class=""><br class="">Thanks,<br class=""><br class="">Olivier<br class="">_______________________________________________<br class="">Cam-compiler-hacking mailing list<br class=""><a href="mailto:Cam-compiler-hacking@lists.ocaml.org" class="">Cam-compiler-hacking@lists.ocaml.org</a><br class="">http://lists.ocaml.org/listinfo/cam-compiler-hacking<br class=""></div></div></blockquote></div><br class=""><div class="">
Kindly,<div class=""><br class=""></div><div class="">Runhang</div>
</div>
<br class=""></div></body></html>