coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Ralf Jung <jung AT mpi-sws.org>
- To: Jeremy Dawson <Jeremy.Dawson AT anu.edu.au>, "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] coq library std++ 1.3 / coq 8.11
- Date: Mon, 23 Mar 2020 15:51:38 +0100
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jung AT mpi-sws.org; spf=Pass smtp.mailfrom=jung AT mpi-sws.org; spf=None smtp.helo=postmaster AT juno.mpi-klsb.mpg.de
- Ironport-phdr: 9a23:B8NZdhbADdXcBHhgAcffwHn/LSx+4OfEezUN459isYplN5qZr8qybnLW6fgltlLVR4KTs6sC17OK9fm8CSdevt6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUhrwOhBoKevrB4Xck9q41/yo+53Ufg5EmCexbal9IRmrogjdrNQajIRhJ6o+yxbEoGZDdvhLy29vOV+ckBHw69uq8pV+6SpQofUh98BBUaX+Yas1SKFTASolPW4o+sDlrAHPQgST6HQSVGUWiQdIDBPe7B7mRJfxszD1ufR71SKHIMD5V7E0WTCl76d2VB/ljToMOjAl/G3LjMF7kblWqwy9qRNh34HUYZmVNPtgcaPbYdMaXndKUsJIWyBcHo+wc44DAuwcNuhasob9vUMDowagCwmiBO3hyTFGiXH50qI4z+svHhrL3BAiEt8UrHjYsNv4OaUUXOuozKfI1zLDb/ZO1Dnh8ofIdh4hquyIU7Jtd8rRxlQkGgTHjlWNr4zlMCiY1uEVs2ia9uZgTuyui3U9pwF2uDivyd4hh4/UjYwbzVDE8D92wIczJdCgTU57ed+kHIJLtyCULIt6WMQiQ3tnuCoiy70Gv4S7fCkQx5g9yR7fcfqKeJWL7BL7TOudPDl1iXZ/dL6igxu+60utx+zmWsS7zFpGtihIn9vWunwQ1BHe7tKLR/V/80u7xzqDygbe4fxeL08uj6rUMZshz6YwlpUNtUTDGTf7mEfrjK+QcUUo4O2o6/zmYrn/pZ+cM5R0hRrkPqQrgsy/Dv40PRUQUGSD+OS80qPs/VHhTblXgPA7lrPVvI3eKMgBpaO0AhVZ34k/5xqnCjepytUYnX0JLFJffxKHipDkO1PTIPD+AveymFGskC9qx/zfJb3gDI7NImLEkLf7crZx81RcxxYrzdBD+5JUDakML+70Wk/ordDXEhs5MxGvzOv8E9V81oYeWXqVDaODMaPSt0WI5uM1LOWWao8VomW1F/9wxfP0gHoo0XMUYrKu29NDSn2iE/F3ZWmQfmHrhP8IF3pMswYjCuX33hnKGzVUfjO5W782zjA9EoOvS4nZDMj5i7uYmSy/A5d+Z2ZcC1nKH22+JKueXPJZUiuWLIdDjzoLHeyjVoku/RS2tUrh1KEhKfDbrH5L/an/3cR4srWA3So58iZ5WoHEiznUEzNE21gQTjpz55hR5FRnww7Yg61ggrlDCscV4OlGAF9jZMzsitdiAtW3YTrvO9KASVKoWNKjWGpjS8owhsQReAB6Adrw10mejRrvOKcckvmwPLJx8q/Y2CKrdcRgzXGA0bEgyloiWcEJMHWpwKJypVDe
Hi Jeremy,
> 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?
I am not sure what is wrong with your opam state -- unfortunately opam is
pretty
fragile and likes to get itself into a bad state, where the best solution is
to
delete it and start from scratch.
If you are using opam for the library, you have to use oapm for coq, and
should
uninstall the fedora package to avoid confusion.
If you want to use the fedora package, you will have to install stdpp by hand,
as described at:
<https://gitlab.mpi-sws.org/iris/stdpp/#building-from-source>
But that is not recommended.
Kind regards,
Ralf
>
> 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
>>>
>>
--
Website: https://people.mpi-sws.org/~jung/
- [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, 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
Archive powered by MHonArc 2.6.18.