<div dir="ltr">Going from nothing to a working OCaml installation is still a little too hard, but only in terms of knowing what to do. Everything works if you know what commands to run in all the various scenarios. In other words, the Install page needs a lot more love.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 4:39 PM, Anil Madhavapeddy <span dir="ltr"><<a href="mailto:anil@recoil.org" target="_blank">anil@recoil.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ashish, this is *very* useful as it's the first stumbling block that users run into and give up when they do.  Thank you!<span class="HOEnZb"><font color="#888888"><div><br></div><div>-anil</div></font></span><div><div class="h5"><div><br><div><div>On 30 Sep 2014, at 17:16, Ashish Agarwal <<a href="mailto:agarwal1975@gmail.com" target="_blank">agarwal1975@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Thanks for the explanations. I spent all day learning more about package management on several OS's, and updated the <a href="http://ocaml.org/" target="_blank">ocaml.org</a> install page. Hopefully things are a bit clearer.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 4:27 AM, Anil Madhavapeddy <span dir="ltr"><<a href="mailto:anil@recoil.org" target="_blank">anil@recoil.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span>On 29 Sep 2014, at 19:46, Ashish Agarwal <<a href="mailto:agarwal1975@gmail.com" target="_blank">agarwal1975@gmail.com</a>> wrote:<br></span><div><span><br><blockquote type="cite"><div dir="ltr">Thanks. I now have it working on Ubuntu. The issue is that several OS packages have to be installed, not just "ocaml" and "camlp4". Thus, the instructions [1,2] we've been linking people to are incomplete.</div></blockquote><div><br></div></span>That's right -- this has always been the case historically on Debian (somewhat suboptimally I think, but it fits in with their distribution criteria).  I usually do "ocaml ocaml-native-compilers camlp4-extra" to get everything.</div><div><span><br><blockquote type="cite"><div dir="ltr"><div><br></div><div>I still don't know what to do on CentOS to get ocamldoc. Does anyone have the full list of packages for each OS?</div></div></blockquote><div><br></div></span>You should have got ocamldoc with just ocaml there.  I believe you just need "ocaml" and "ocaml-camlp4" on CentOS, but please correct me if that's wrong.  I don't regularly use it and so could have missed something in the packaging.</div><div><span><br><blockquote type="cite"><div dir="ltr"><div><br></div><div>Why are multiple packages needed? I would expect "apt-get install ocaml" or "yum install ocaml" to install everything that one gets from installing the source distribution of OCaml.<br><div><br></div><div>[1] <a href="http://software.opensuse.org/download.html?project=home:ocaml&package=opam" target="_blank">http://software.opensuse.org/download.html?project=home:ocaml&package=opam</a></div><div>[2] <a href="http://software.opensuse.org/download.html?project=home:ocaml&package=ocaml" target="_blank">http://software.opensuse.org/download.html?project=home:ocaml&package=ocaml</a></div></div></div></blockquote><div><br></div></span>That's just following upstream packaging practises.  I think it's better to do that and to document what packages are needed, rather than changing it for our local efforts.</div><div><br></div><div>However, it could be easier.  I'll take a look at making the Travis scripts a bit more automated by sourcing a central copy of the script from somewhere on GitHub.  That'll reduce the rate of cut and pastes..</div><span><font color="#888888"><div><br></div><div>-anil</div><div><br></div></font></span></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>