caml-list - the Caml user's mailing list
 help / Atom feed
From: "David Allsopp" <dra-news@metastack.com>
To: "'François Pottier'" <francois.pottier@inria.fr>, "Jeremie Dimino" <jdimino@janestreet.com>
Cc: "caml users" <caml-list@inria.fr>
Subject: RE: [Caml-list] dune for OCaml < 4.07?
Date: Mon, 10 Feb 2020 12:27:37 +0100
Message-ID: <002501d5e005$1c00f220$5402d660$@metastack.com> (raw)
In-Reply-To: <a4a3eb3a-2784-3f22-5f5e-f59e1542579f@inria.fr>

François Pottier wrote:
> > TL;DR for installing Menhir on OCaml 4.02-4.06 using opam, you don't
> > need to do anything.
> 
> Thanks for your prompt reply, which sounds reassuring!
> 
> However, attempting to install dune 2.2.0 on a pre-4.07 switch (for
> instance, 4.02.3) results in the following failure:
> 
>    $ opam install dune.2.2.0
>    The following dependencies couldn't be met:
>      - dune → ocaml >= 4.07 → ocaml-variants >= 4.07.0
>          conflict with the base packages of this switch
>      - dune → ocaml >= 4.07 → ocaml-system >= 4.07.0
>          unmet availability conditions, e.g. sys-ocaml-version = "4.07.0"
>      - dune → ocaml >= 4.07 → ocaml-base-compiler >= 4.07.0
>          base of this switch (use `--unlock-base' to force)
> 
> I have run "opam update" first. Is there something else I should do to
> convince opam that it is possible to install dune?

Oops :$ - https://github.com/ocaml/opam-repository/pull/15820 !

Best,


D



      reply index

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31  8:49 [Caml-list] (dune/opam) Proper way of vendoring a library inside an application? François Pottier
2020-01-31 13:08 ` François Bobot
2020-01-31 14:53   ` François Pottier
2020-02-03 10:27 ` Jeremie Dimino
2020-02-03 14:17   ` Jeremie Dimino
2020-02-03 14:53     ` François Pottier
2020-02-03 23:13       ` Jeremie Dimino
2020-02-04  9:11         ` François Pottier
2020-02-06 22:33           ` Jeremie Dimino
2020-02-10  9:37             ` [Caml-list] dune for OCaml < 4.07? François Pottier
2020-02-10 10:19               ` David Allsopp
2020-02-10 10:33                 ` François Pottier
2020-02-10 11:27                   ` David Allsopp [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002501d5e005$1c00f220$5402d660$@metastack.com' \
    --to=dra-news@metastack.com \
    --cc=caml-list@inria.fr \
    --cc=francois.pottier@inria.fr \
    --cc=jdimino@janestreet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox