Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] installing coq using opam

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] installing coq using opam


Chronological Thread 
  • From: Lasse Blaauwbroek <lasse AT blaauwbroek.eu>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] installing coq using opam
  • Date: Sat, 23 Jan 2021 06:26:00 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=lasse AT blaauwbroek.eu; spf=Pass smtp.mailfrom=lasse AT blaauwbroek.eu; spf=None smtp.helo=postmaster AT mail.blaauwbroek.eu
  • Ironport-phdr: 9a23:ikK1SRGRbfE3mXZ/xpTP2J1GYnF86YWxBRYc798ds5kLTJ7ypsuwAkXT6L1XgUPTWs2DsrQY0ruQ6v+rBDxIoc7Y9ixbL9oUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdaz6FYHIksu4yf259YHNbAVUnjq9Zq55IAmroQnLucQanI9vJrwsxhbLrXdFe+dbzn5sKV6Pghrw/Mi98INh/ihKp/4t68tMWrjmcqolSrBVEC4oOH0v6s3xshnDQwqP5n8CXWgTjxFFHQvL4gzkU5noqif1ufZz1yecPc3tULA7Qi+i4LtxSB/pkygIKTg0+3zKh8NqjaJbpBWhpwFjw4PRfYqYOuZycr/bcNgHQ2dKQ8RfWDFbAo6kcoUBEeQBM+ZboYfzqVQBohmxChWjCu701j9FhGX70bEm3+kvEwzL2hErEdIUsHTTqdX4LKEcXvquzKnT0zrIcu5b2TPn54fSbxAgr+qDXah3ccXPykkkCgTIjlGKpoz+JDOayP8AvHOf7+V6T+2vlmAmpBprojio2MgsiZPFiZwIyl3d8yhy3Yk6K8GiRkFhfd6kDIVftzucN4ZuX84vQ2VltTs0x7AHpZK2cykHxZcnyhLCd/CJfYaF7xDtWuqNPDp2in1odbK/iRuy8kWs1vHwWtW13VtOrydLnN/BvW0O2RzL8sWLV/hw80e71TqR2A3f8P9ILV4omabBKZMt36Y8moQJvkjfACP7nV/5gLGLekk6/+Wk9fnrb7bpq5KZM4J7kR3yPrgrl8GwGus4PAwDUm2U9OmzyLLv4Uj0TbRUgvErkKTUtYvVKMQVpqGjBQJez5wt5AylDzi81dQVhXkHI0xBeBKAl4XpPkvBIPH8DfulmFuslC1kyOrbPrzvGZrNNH/Dn6nifbpn9UFc1RI/zdFZ551KFrEMOO//V0zxudDCEBM0PBa4z/j5BNlhzI8TW3+DDrecMKzIsF+I4uwvI/OLZI8QoDv9L+Iq5+X1jXAnglISZq2p0oENZ3ClEPVpOF+ZYX3yjdcCC2sFoBc+QPTwiFKeST5Te2qyX6Uk6z4nD4KmFJ7PSZypgLycxyi2BYZWZ2BDClCUC3jkbYSEW/EWaCKTOMBtiDIEVaLyA7MmgBqprUrxz6dtBuvS4CwR85z5h/Zv4OiGsRgp7jE8JcCU2nySRXtzk2BAEzs/x7tyiUZ5w16ezqJihPFbU9FOsaAaGjwmPILRmrQpQ+v5XRjMK4/QFASWB+6+CDR0deofhscUah8jSd+mhxnewCCwBLIW0bGWVsRtr/DsmkPpLsM48E7okaksi158G5lKPGyiwKR7/gHOGITTlEia0au3J/xFjXz9sVybxG/Lh3l2FQt5UKHLR3caPxWEp9Dw717dRaWpBLdhPxYTkMM=

Hi Jeremy,

This is likely because your username on the second computer is different. The files in .opam are generally path-dependent. So if you are going to copy your ~/.opam form one computer to another, you should make sure that all paths on those computers are the same.

I don't know why 'opam init' is creating a folder 'opam-coq.8.8.2' for you.

Regards,
Lasse

On 1/23/21 6:20 AM, Jeremy Dawson wrote:

Hi,

I'm trying to install Coq 8.11 using opam.

I'm managed this fine on one computer.

And I've copied the entire contents of ~/.opam from that computer to the other one.

but on the second one, when I run opam env
it tells me to run opam init first (which seems odd since I've copied the entire contents of ~/.opam from a computer where it all works

So I do that, it creates a directory called opam-coq.8.8.2,
and when I run opam env it comes up with lots of variable settings involving /home/jeremy/opam-coq.8.8.2

So, questions - where does it get the knowledge that I was previously running opam-coq.8.8.2, why does it insist on setting me up to use that, and how do I stop it?

This is driving me nuts.

Grateful for any help

Jeremy



Archive powered by MHonArc 2.6.19+.

Top of Page