coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason -Zhong Sheng- Hu <fdhzs2010 AT hotmail.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 20:17:45 +0000
- Accept-language: en-CA, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VMa8nZ/u4RoyPAHj9YV+nq9nWTfsLW9LMQcYMJu69Xw=; b=Bbx3sDMwviUtulqD73jY5lQvoMrdl7+puJJoDtXOKarpPTFF6oOAhtqXvLQg0xCUSA+tU6ykylV4ckyMo3iXOHSGHoyR06VSSHZzuwuhhn13NWAA+nVRHsJbE0pXFZuARAfXTawLsAYLca8RvK3vj4hP04FK2LTeHIVxw0hrlruS8Qlbp443U1/k8gpIXdVyirlXULa0G+rDpc2d4ZsZuNt0NKZh46pBAydtInnqpC7TgMnbvwXyxeH+Naa2Ia7KcFXuiV/i30XGMmaGYj+Yasp9zDa5UGHfGNn9KM6XOaXptNggZy51GmXacQrvAN/S+3D06r0ft5reIro3Pmgegg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOOFmh4QqlqNg4y2P2LYuws71Ugzp5/dn/2/rr7Y9jpNapzfA03PvzkNHMhMn4WnGRBUkBCC+T2dU1/tk1KyH0hxYF6CNpUFw+3lkV7GJfcY8p4+yCevCn4v/xLC3yLdWsMpkhwswwl98pn8w+jDEfJCaA8x7YSJpC3W8oVT/wY5rsoeEMKcu9v6txy/R4ngwJNAaqBGsAYM2h4KTmFSZ1Gr1VVOam+0fJcR4jiKFdQwMrf+D+LOFvBsHgEnLgYQ7ZbVGd35uKOn2pmq0NCU8LtGUktH/g0trgA1xh4wtn8b1vRECUGjz4rm5drF9f4oOp5Fzdgo/jsobV8Wr8H3dg==
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=fdhzs2010 AT hotmail.com; spf=Pass smtp.mailfrom=fdhzs2010 AT hotmail.com; spf=Pass smtp.helo=postmaster AT NAM11-DM6-obe.outbound.protection.outlook.com
- Ironport-phdr: 9a23:xtRgfBzHFRc3fNnXCy+O+j09IxM/srCxBDY+r6Qd2uITIJqq85mqBkHD//Il1AaPAdyHrasY26GP6PqocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLx/IA+roQjetcQajpZuJ6gvxhDUvnZGZuNayH9nKl6Ugxvy/Nq78oR58yRXtfIh9spAXrv/cq8lU7FWDykoPn4s6sHzuhbNUQWA5n0HUmULiRVIGBTK7Av7XpjqrCT3sPd21TSAMs33SbA0Ximi77tuRRT1hioLKyI1/WfKgcFrkqlVvAyuqAB+w47MYYGaKvx+fr/GfdgHQWZNR9tdWzBdDo+5aYYACPcPPftDr4nluVQBsQe+CwerBOPq0DBIh3n21rA+3+kuFQzK2QotFM8MvnvJttX4LKccX/6owqnUwzvNbP1W1jXh54fHaR0uu+2AUa5qfMbN1UUjCgXIhUiQp4z/ODOV0/wAvWyB4Op7UuKvjXMspxhyrTivwccsjIbJjZ8IxFDE6yp5xok1KcSlQ0B5fN6vDZxdty+HOIt2Q8IiWH9ktDonxrEaopO7fC8KyIgixxHFavyHd5KE7Q7kVOaUODp1gm9udry4hxa360egy+v8W9G70FZLsipFksTMuWsX2xzS7ciLUvp9/kG72TaOzQ/f8O9EIVoymKHGKJAh2qY9m5UPvUjZGiL6hl/6gLKSe0k++eWl6vzrYrv4qZKfK4N5jwTzPb4zlsOjBek1NwwDU3WG9um51rDs51H1TbdPg/IsjKXWrI7WKMIGraCjGQBVyJws6xOnAjemztsYmX4HIUpddh+biIblJkzCLOn2A/m4glmgiTBryOvYMbH7BZXNM2TDn6zmfbZg7U5T1RA/zchF55JTFrEOPu78WlPwtNzfCB81KQu0w/v7CNV50YMeXmGPDrWFP6PVtF+E/uMvI++Sa48JoDvwJOQp6+TqgHMng1MRYK2k0YEUZX25BvhmJl+WYXvogtcPC2cKuQ8+QfTkiFKfUT5SZm2yU7wg6j0mFI6rFofDRoexgLyExii7H5lWanpaBVCLFHfkb5+EVOsUaCKOPs9hlSQJWqSmS484zB2hqAv6y6d8IefP4S0ZtZfj1MBv6OHJlBEy8yZ0D8WH3G2XQWF0hDBAezhj96dm6Wd5113LhaN/mrlTEcFZz/JPSAYzc5DGmb9UEdf3DyDIZdCPABOUQtKgDnkKTt83zJpGQ1s1T9uujgLYhXLzW5cVkKCODZ0wtKnb2i6idI5G13/a2fx53BEdScxVODjj2/cmqlrjQrXRmkDcrJ6EMKQR2CmRqzWl5E/X5QR0dVA1Vq/IG3cCekHRsNL1oFvYSKOjAqgmNQ0HztOeLqxNaZviilAUHa6/auSbWHq4niKLPTjN3qmFNdG4e2IB2SzcDA4PlAVBpS/XZzh7PT+opiflNBIrEFvuZ0329uwn8yG7SVMxxgCOKUZm0ujs9w==
Hi Jeremy,
I would also like to add that it's probably a good idea to use different switches for different versions of Coq and in that case it is less likely to get into the version hassles. it's also more convenient to switch between switches in emacs too.
From: coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of Théo Zimmermann <theo.zimmi AT gmail.com>
Sent: March 23, 2020 12:39 PM
To: Coq Club <coq-club AT inria.fr>
Subject: Re: [Coq-Club] coq library std++ 1.3 / coq 8.11
Sent: March 23, 2020 12:39 PM
To: Coq Club <coq-club AT inria.fr>
Subject: Re: [Coq-Club] coq library std++ 1.3 / coq 8.11
I'll add to the excellent advice of Ralf and Li-yao that another
source of confusion can be the version of opam itself. Please make
sure that opam --version gives you something above 2.0, otherwise it
won't work to get recent Coq and Coq packages versions.
Le lun. 23 mars 2020 à 16:35, Li-yao Xia <lysxia AT gmail.com> a écrit :
>
> Hi Jeremy,
>
> Your current switch uses ocaml 4.02 but coq 8.11.0 depends on ocaml >=
> 4.05 && < 4.10. Create a new switch with a more recent version of ocaml,
> (But not too recent, < 4.10) so you can install coq 8.11.
>
> > However it (apparently) tried to reinstall coq 8.8.2 (why?) and failed,
> > saying ERROR while compiling coq.8.8.2
>
> The error message includes the logs below that line. There is an
> output-file where to find the complete logs, and also an "### output
> ###" section with the most recent output from the build.
>
> > 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?
>
> You should probably not get coq via your OS distribution's package
> manager. Only install it with opam.
>
> Most OS distributions move slowly, so they're always a few versions
> behind, and they only provide a limited selection of packages. If you
> want to keep up with the bleeding edge, you should only install OCaml
> and Coq packages through opam.
>
> Don't hesitate to ask for further clarification.
>
> Cheers,
> Li-yao
>
> On 3/23/20 10:31 AM, Jeremy Dawson wrote:
> > 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
> >>>
> >>
source of confusion can be the version of opam itself. Please make
sure that opam --version gives you something above 2.0, otherwise it
won't work to get recent Coq and Coq packages versions.
Le lun. 23 mars 2020 à 16:35, Li-yao Xia <lysxia AT gmail.com> a écrit :
>
> Hi Jeremy,
>
> Your current switch uses ocaml 4.02 but coq 8.11.0 depends on ocaml >=
> 4.05 && < 4.10. Create a new switch with a more recent version of ocaml,
> (But not too recent, < 4.10) so you can install coq 8.11.
>
> > However it (apparently) tried to reinstall coq 8.8.2 (why?) and failed,
> > saying ERROR while compiling coq.8.8.2
>
> The error message includes the logs below that line. There is an
> output-file where to find the complete logs, and also an "### output
> ###" section with the most recent output from the build.
>
> > 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?
>
> You should probably not get coq via your OS distribution's package
> manager. Only install it with opam.
>
> Most OS distributions move slowly, so they're always a few versions
> behind, and they only provide a limited selection of packages. If you
> want to keep up with the bleeding edge, you should only install OCaml
> and Coq packages through opam.
>
> Don't hesitate to ask for further clarification.
>
> Cheers,
> Li-yao
>
> On 3/23/20 10:31 AM, Jeremy Dawson wrote:
> > 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
> >>>
> >>
- [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Théo Zimmermann, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Li-yao Xia, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Théo Zimmermann, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jason -Zhong Sheng- Hu, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/24/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Théo Zimmermann, 03/24/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/24/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/24/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/25/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/25/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/25/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/25/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/24/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jason -Zhong Sheng- Hu, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Théo Zimmermann, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Théo Zimmermann, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Jeremy Dawson, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ralf Jung, 03/23/2020
- Re: [Coq-Club] coq library std++ 1.3 / coq 8.11, Ian Zimmerman, 03/25/2020
Archive powered by MHonArc 2.6.18.