<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><blockquote type="cite"><div><div dir="ltr">Meanwhile, this "recipe" works:<div><ol><li>on an Ubuntu 14.04 LTS, with a working OPAM/OCaml, I switched to 4.01.0+musl+static, cloned OPAM repo, configure && make<br><br></li><li>the opam binary runs on the CentOS 6.5 without modifications, just copy ( <a href="https://db.tt/mdrkvrPL">https://db.tt/mdrkvrPL</a> );<br>

<br></li><li>yum install ocaml ocaml-camlp4 (Red Hat stock repository, OCaml 3.11.2)<br><br></li><li>opam switch 4.01.0 (compiles the new compiler without problems);<br></li></ol></div></div></div></blockquote><div><br></div>Normally, you should be able to skip steps 3, 5 and 6 by doing: </div><div><br></div><div>$ opam init --comp=4.01.0</div><div><br></div><div>--</div><div>Thomas</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div><div dir="ltr"><div><ol start="4"><li><br></li><li>opam switch remove system<br><br></li>
<li>
yum remove ocaml ocaml-camlp4 ocaml-runtime<br><br></li><li>et voilą!<br></li></ol></div><div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div dir="ltr"><i>Paolo</i><br></div>
</div></div></div>
_______________________________________________<br>opam-devel mailing list<br><a href="mailto:opam-devel@lists.ocaml.org">opam-devel@lists.ocaml.org</a><br>http://lists.ocaml.org/listinfo/opam-devel<br></div></blockquote></div><br></body></html>