Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] problems installing coqprime

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] problems installing coqprime


Chronological Thread 
  • From: <Rajeev.Gore AT anu.edu.au>
  • To: <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] problems installing coqprime
  • Date: Mon, 13 Jan 2020 21:48:28 +1100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=Rajeev.Gore AT anu.edu.au; spf=Pass smtp.mailfrom=Rajeev.Gore AT anu.edu.au; spf=None smtp.helo=postmaster AT mail2-drop-p1.anu.edu.au
  • Ironport-phdr: 9a23:rMZEVhy5lEGakgTXCy+O+j09IxM/srCxBDY+r6Qd2+8RIJqq85mqBkHD//Il1AaPAdyAragb06GP4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVijexe61+IReqoQneq8UbhZZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLulSwJNSM28HvPh8N/kK1VrxGvqRJ/zYDKfY+aNvR+cKTHfdMbXmdBQt9RWjZdDo6mc4cDEuwMNvtYoYnnoFsOqAOzCA6wCuz1yD9HmGH53bMg3+ogFgHGxhIvEskUv3TSsdX5LrkdXv2ozKXS1zrDcupb1DHg44bGdRAhpOuDXbN2ccfJyEkvERnFjlSKpoD/MTOVzPwBvHKd7+p9T+6glXMoqxxrrje128cgkobJhoMJylDE6CV225w5KsG/SE5+edKrDJxQtziDO4RqRcMiWnlouDw7yr0Dp5G3ZjUFx4o5xxPZdveJcJCI7wr+WOufPTt0nnJodbOlixuz/kWs0PPwW8us3FpUsiZInMPAu3AJ2hDJ6cWKROFx8lqh1DuN0Q3Y9/tKLloulaXBLp4s2r4wmYQXsUTEBiL2nV/5jK6Sdkk64+Sn9v7nYrL+ppOFL494lxvyPb4omsyiG+g3LBUBX3WB9eumyb3v5Uz5QLNUgf0qiqTVrZ7XKdgBqqO5AgJZyIcu5hmlAzu40tkUhXwHI0hEeBKDgYjpIVbOIPXgAPmjmVuskilkyO7YPrH7A5vNKWLDn6n6cLln7U5c1RA/ws5C6JJJEL0OOu/zVlfrtNPEFh85LxC0w+H/Bdph0YMeQHuDDbOdMKPPqlCF/fkvIumJZI8NojnxMfkl5/j0jX84g1ARZ6ep3YFEIEy/S6BtJFzcan7xiP8AF30Lt0wwVrq5slCaVS9vYCPmZas+6zwlTq2hF4rrT4awxrGNwWGyA8sFSHpBDwXYK37qeoiaHdgLci+6K8l81DEISP6oVtlyhlmVqAbmxu8/faLv8SoCuMe7jYUn16jojRg3sAdMIYGd3mWKFT8mm2oJQ2Vz0Lp4uQllkxGK17U+jvBFU9VOtasQDlUKcKXExuk/MOjcHxrbd47TGl+gX5OrDSx3R89jm4ZfMXY4IM2ri1X45wTvBrYUk7KRA5ltqPDV2WW3KspgjX/bhvAs


Hi Benoit,

I am using 8.6-5build1 (apparently :)

The reason I am using ubuntu 18.04 is because the webpage that I mentioned
previously says it was tested on ubuntu 18.04.

I did the following:

- I did a sudo apt install opam in my home directory (which appears to have
worked)

- I literally typed in "opam repo add coq-extra-dev
https://coq.inria.fr/opam/extra-dev"; but it complained with

# opam-version 1.2.2
# os linux
File /home/rajeevgore/.opam/config does not exist

I did a quick search on ".opam/config does not exist" but could not find
anything useful.

What am doing wrong please?

thanks,
raj

On 13 January 2020 Benoît Viguier
(beviguier AT gmail.com)
writes:
> Hi Raj,
>
> The version of Ubuntu is not really helping. More importantly, which
> version of Coq are using?
>
> I would suggest you try using this version (instead of the
> gforge.inria.fr one which we don't know when it was last updated):
>
> https://github.com/thery/coqprime
>
> It is available via Opam in the extra dev repo:
>
> https://github.com/coq/opam-coq-archive/blob/master/extra-dev/packages/coq-coqprime/coq-coqprime.dev/opam
>
> *
>
> |opam repo add coq-extra-dev https://coq.inria.fr/opam/extra-dev|
>
> *
>
> opam install coq-coqprime||
>
>
> On 1/13/20 11:14 AM,
> Rajeev.Gore AT anu.edu.au
> wrote:
> > Hi all,
> >
> > I am not sure whether this is the proper mailing list for asking this
> > question, so apologies in advance if it is not.
> >
> > I am trying to install coqprime. But at a certain point, I get the error
> > below.
> >
> > I am using ubuntu 18.04 and I tried to follow the instructions here
> > http://coqprime.gforge.inria.fr/
> > under the heading "If your number has more than 100 decimal digits ".
> >
> > A quick search on the "Unable to local library" showed some discussions
> > about how one can replace -I with -R but I am afraid that
> > I am not competent to understand the details.
> >
> > What am I doing wrong please?
> >
> > raj
> >
> > rajeevgore@rajeevgore-900X3C-900X3D-900X4C-900X4D:~/CoqPrime/coqprime$
> > make all
> > cd Tactic; make all
> > make[1]: Entering directory '/home/rajeevgore/CoqPrime/coqprime/Tactic'
> > coqc -q -I . Tactic
> > make[1]: Leaving directory '/home/rajeevgore/CoqPrime/coqprime/Tactic'
> > cd N; make all
> > make[1]: Entering directory '/home/rajeevgore/CoqPrime/coqprime/N'
> > coqc -q -I . -I ../Tactic NatAux
> > File "./NatAux.v", line 15, characters 15-21:
> > Error: Unable to locate library Tactic.
> > Makefile:112: recipe for target 'NatAux.vo' failed
> > make[1]: *** [NatAux.vo] Error 1
> > make[1]: Leaving directory '/home/rajeevgore/CoqPrime/coqprime/N'
> > Makefile:2: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> >
> Hi Raj,
>
> The version of Ubuntu is not really helping. More importantly, which
> version of Coq are using?
>
> I would suggest you try using this version (instead of the
> gforge.inria.fr one which we don't know when it was last updated):
>
> [1]https://github.com/thery/coqprime
>
> It is available via Opam in the extra dev repo:
>
> [2]https://github.com/coq/opam-coq-archive/blob/master/extra-dev/packag
> es/coq-coqprime/coq-coqprime.dev/opam
> *
> opam repo add coq-extra-dev [3]https://coq.inria.fr/opam/extra-dev
> *
> opam install coq-coqprime
>
> On 1/13/20 11:14 AM,
> [4]Rajeev.Gore AT anu.edu.au
> wrote:
>
> Hi all,
>
> I am not sure whether this is the proper mailing list for asking this
> question,
> so apologies in advance if it is not.
>
> I am trying to install coqprime. But at a certain point, I get the error
> below.
>
> I am using ubuntu 18.04 and I tried to follow the instructions here
> [5]http://co
> qprime.gforge.inria.fr/
> under the heading "If your number has more than 100 decimal digits ".
>
> A quick search on the "Unable to local library" showed some discussions
> about ho
> w one can replace -I with -R but I am afraid that
> I am not competent to understand the details.
>
> What am I doing wrong please?
>
> raj
>
> rajeevgore@rajeevgore-900X3C-900X3D-900X4C-900X4D:~/CoqPrime/coqprime$ make
> all
> cd Tactic; make all
> make[1]: Entering directory '/home/rajeevgore/CoqPrime/coqprime/Tactic'
> coqc -q -I . Tactic
> make[1]: Leaving directory '/home/rajeevgore/CoqPrime/coqprime/Tactic'
> cd N; make all
> make[1]: Entering directory '/home/rajeevgore/CoqPrime/coqprime/N'
> coqc -q -I . -I ../Tactic NatAux
> File "./NatAux.v", line 15, characters 15-21:
> Error: Unable to locate library Tactic.
> Makefile:112: recipe for target 'NatAux.vo' failed
> make[1]: *** [NatAux.vo] Error 1
> make[1]: Leaving directory '/home/rajeevgore/CoqPrime/coqprime/N'
> Makefile:2: recipe for target 'all' failed
> make: *** [all] Error 2
>
> References
>
> 1. https://github.com/thery/coqprime
> 2.
> https://github.com/coq/opam-coq-archive/blob/master/extra-dev/packages/coq-coqprime/coq-coqprime.dev/opam
> 3. https://coq.inria.fr/opam/extra-dev
> 4.
> mailto:Rajeev.Gore AT anu.edu.au
> 5. http://coqprime.gforge.inria.fr/


--
Rajeev Gore'
Professor, Logic and Computation Group, and
Associate Director of Research,
Research School of Computer Science
ANU College of Engineering and Computer Science
The Australian National University
Canberra ACT 2601
Tel: +61-2-61 25 86 03
Fax: +61-2-61 25 86 51
Email:
Rajeev.Gore AT anu.edu.au
Web: http://arp.anu.edu.au/~rpg
ANU CRICOS Provider Number - 00120C




Archive powered by MHonArc 2.6.18.

Top of Page