Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] coq library std++ 1.3 / coq 8.11

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] coq library std++ 1.3 / coq 8.11


Chronological Thread 
  • From: Théo Zimmermann <theo.zimmi AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] coq library std++ 1.3 / coq 8.11
  • Date: Mon, 23 Mar 2020 15:40:45 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-ua1-f52.google.com
  • Ironport-phdr: 9a23:8fIfoxLEQXd96YvyHdmcpTZWNBhigK39O0sv0rFitYgeK/3xwZ3uMQTl6Ol3ixeRBMOHsq4C0raG+P69EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba59IRmssAncucobjYRjJ6sx1xDEvmZGd+NKyGxnIl6egwzy7dqq8p559CRQtfMh98peXqj/Yq81U79WAik4Pm4s/MHkugXNQgWJ5nsHT2UZiQFIDBTf7BH7RZj+rC33vfdg1SaAPM32Sbc0WSm+76puVRTlhjsLOyI//WrKkcF7kr5Vrwy9qBx+247UYZ+aNPxifqPGYNgWQXNNUttNWyBdB4+xaZYEAegcMuZCt4TyqFUOohm+CweiB+3h1yFGiWP506Ahz+QhCBvL0BA8E94SsnnZqsj+OqcIUeCyyanF1SvNb/NM3jf68IfHcREhofSJXb1ua8rRzFMgFwXDjl6NroHlIzOV2foKs2SB7utgVOevi2smqwxqrTivw90jiojNho4P1l/E8iB5zZ8zKNalRkB7ZtukH4FRtyGcL4Z2Q8UiQ3tpuCkg0LEGt4S7cS4Xw5ok3x7Sc+KLf5SM7x75V+ucIS10iGx7dL6hnRq/8Vasx+vhXceuyllKtDBKktzUu3ANyRPT7s+HR+N4/ki72DaP0xnf6vxeLkwpjKbbJZ4szqAqmpoctkTDGSD2mEHog6OMakok/e2o5/zmYrXguJCcK5d5hh/iPqkqgMCyAuQ1PhIQU2SF5+iwzr3u8VPhTLVPlPI2k63ZsJ7AJcQco660GxNV0oY95Ba4FTun0dUYnXwCLFJEYx+HgI3pNEvPIPD8F/uwn1OskDJzy/DcIrLhGonNLmTEkLr5Ybl97FdcxBMvwtBb+pJbEaoMIOnzW0/0rNzXFAU1Mw2yw+b9CdVyzJkSWWyVAvzRDKSHmliRrskrPuPEMIQSoXP2L+Uvz//ol34w31EHK/qHx5wSPUy4n/NREUScZHf2h94HFy9eogozS6r4iViHUBZcYn+zW+Q34TRtW9HuNpvKWo342O/J5yy8BJADIzkeUgnRQ0etTJ2NXrI3UAzXIsJllWZZB72oSotkyBj38QGnkfxoKe3b/iBevpXmhoAsu7/j0Coq/DkxNPyzlnmXRjgtzGwNTj4ymqt4pB4lkwbR4e1Dm/VdUOdrybZMWwY+O4TbyrUjWd/3UwPFONyOTQT/Tw==

Hi Jeremy,

Indeed, opam is not really user-friendly when you are not used to it
and when the copy-paste instructions do not work out of the box.

But before trying to explain to you how to tackle this issue, would
you mind confirming that you are indeed trying to update stdpp which
is a library which *extends* the standard library of Coq, and not the
standard library itself?

The standard library is bound to the version of Coq: you get updates
whenever you update Coq. External packages such as stdpp provide
additional functionalities and can be installed via opam, but then it
requires you to install Coq via opam as well (as opposed to using your
distribution's package manager).

Théo

Le lun. 23 mars 2020 à 15:32, Jeremy Dawson
<Jeremy.Dawson AT anu.edu.au>
a écrit :
>
> Hi Ralf,
>
> Thanks - I tried opam update, and then as its output suggested doing
> opam upgrade, I tried that.
>
> However it (apparently) tried to reinstall coq 8.8.2 (why?) and failed,
> saying ERROR while compiling coq.8.8.2
>
> It suggested running
> opam switch import
> "/home/jeremy/opam-coq.8.8.2/ocaml-base-compiler.4.02.3/.opam-switch/backup/state-20200323132407.export"
>
> which seemed to hang at the point Processing 9/13: [coq: make]
>
> I think at the moment I have a working version of coq thanks to the
> fedora package of coq, but how can I tell which version of the library
> it is using?
>
> Thanks
>
> Jeremy
>
> On 3/23/20 7:04 PM, Ralf Jung wrote:
> > Hi Jeremy,
> >
> > std++ 1.3 is compatible with Coq 8.8.2 (and even with Coq 8.7.2), so that
> > cannot
> > be the problem. It looks like your package definitions are quite
> > outdated,
> > given that it cannot even find Coq 8.11.0. Did you try "opam update"?
> >
> > Kind regards,
> > Ralf
> >
> > On 23.03.20 03:26, Jeremy Dawson wrote:
> >>
> >> Hi,
> >>
> >> > This release of the std++ library adds support for Coq 8.11 and is
> >> available in Coq's opam repository.
> >>
> >> At present I have Coq 8.8.2 on my machine, and I don't know what version
> >> of the standard library. How do I find that out?
> >> How do I install a new version of the standard library (ie what do I do
> >> to make use of the fact that it is "available in Coq's opam repository"?
> >>
> >> Trying opam install coq-stdpp seems to start installing coq-stdpp 1.1.0
> >> which I assume is not what I want.
> >>
> >> In any event I assume I have to upgrade to Coq 8.11 to make use of it,
> >> would that be right?
> >>
> >> I've tried to do that, following instructions at
> >> https://coq.inria.fr/opam-using.html but part way through I get
> >>
> >> [jeremy@localhost sysadmin]$ opam pin add coq 8.11.0
> >> [ERROR] Package coq has no known version 8.11.0 in the repositories
> >>
> >> What do I need to do?
> >>
> >> Thanks
> >>
> >> Jeremy
> >>
> >



Archive powered by MHonArc 2.6.18.

Top of Page