[opam-devel] Travis CI failures

Ashish Agarwal agarwal1975 at gmail.com
Tue Sep 30 17:16:38 BST 2014

Thanks for the explanations. I spent all day learning more about package
management on several OS's, and updated the ocaml.org install page.
Hopefully things are a bit clearer.

On Tue, Sep 30, 2014 at 4:27 AM, Anil Madhavapeddy <anil at recoil.org> wrote:

> On 29 Sep 2014, at 19:46, Ashish Agarwal <agarwal1975 at gmail.com> wrote:
> 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.
> 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.
> I still don't know what to do on CentOS to get ocamldoc. Does anyone have
> the full list of packages for each OS?
> 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.
> 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.
> [1]
> http://software.opensuse.org/download.html?project=home:ocaml&package=opam
> [2]
> http://software.opensuse.org/download.html?project=home:ocaml&package=ocaml
> 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.
> 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..
> -anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20140930/0e25802f/attachment.html>

More information about the opam-devel mailing list