[ocaml-platform] Centos 6 OPAM Make Madness

Anil Madhavapeddy anil at recoil.org
Thu Aug 14 17:08:39 BST 2014

On 14 Aug 2014, at 17:02, Louis Gesbert <louis.gesbert at ocamlpro.com> wrote:

> Yes, the option on `opam install` is still there. It differs in that it won't list depexts of already installed packages (it resolves the installation first, then extracts depexts).
> The `--external` option on `opam list` also accepts the same tag arguments, but will list everything by tags if none are given:
> $ opam install -e ubuntu google-drive-ocamlfuse
> libcurl4-gnutls-dev libfuse-dev libsqlite3-dev
> $ opam list -e ubuntu google-drive-ocamlfuse   
> # Known external dependencies for google-drive-ocamlfuse.0.5.3 on ubuntu
> libcurl4-gnutls-dev
> $ opam list -e ubuntu --required-by google-drive-ocamlfuse --rec
> # Known external dependencies for biniou.1.0.9, camlidl.1.05, camlp4.4.01.0, cppo.0.9.4, cryptokit.1.9, cryptokit-sha512.1.6.3, easy-format.1.0.2, extlib.1.6.1, extlib-compat.1.6.1, gapi-ocaml.0.2.1, google-drive-ocamlfuse.0.5.3, ocamlfind.1.5.1, ocamlfuse.2.7.1-cvs2, ocamlnet.3.7.4, ocurl.0.7.1, sqlite3-ocaml.2.0.6, xmlm.1.2.0 and yojson.1.1.8 on ubuntu
> libcurl4-gnutls-dev
> libfuse-dev
> libsqlite3-dev
> zlib1g-dev

Is there any way to drop the '# Known <...>' text in the output?  That'll stop it from working properly in a shell script.


More information about the Platform mailing list