[Agda] Trying to load modules from Norell OPLSS tutorial
Andrés Sicard-Ramírez
asr at eafit.edu.co
Sun Dec 3 05:46:36 CET 2017
I will make you some questions off the mailing list.
On 2 December 2017 at 23:25, Manny Romero <mannyromero at mail.com> wrote:
> I used "sudo apt remove agda". It reported success, and when I attempt to
> repeat the command it reports that it is not installed so cannot be removed.
> However, "agda --version" still results in "Agda version 2.4.2.5". And "type
> agda" results in "agda is hashed (/usr/bin/agda)".
>
> Note that success was reported from the previous attempt at installing 2.5.
> It did take a very long time to install, but it printed the success message
> copied below verbatim.
>
> Sent: Saturday, December 02, 2017 at 11:12 PM
>
> From: "Andrés Sicard-Ramírez" <asr at eafit.edu.co>
> To: "Manny Romero" <mannyromero at mail.com>
> Cc: "Andreas Abel" <andreas.abel at ifi.lmu.de>, "Agda users"
> <agda at lists.chalmers.se>
> Subject: Re: [Agda] Trying to load modules from Norell OPLSS tutorial
> It is weird that you have this problem after fixing the cpphs problem.
>
> If you installed Agda 2.4.2.5 from your distribution, please remove it.
>
> Which is the output of
>
> $ type agda
>
> ?
>
>
>
> On 2 December 2017 at 22:45, Manny Romero <mannyromero at mail.com> wrote:
>> Using this advice I was able to install the new version (or so it would
>> certainly appear):
>>
>> ----------
>>
>> Configuring Agda-2.5.3...
>> Building Agda-2.5.3...
>> Installed Agda-2.5.3
>>
>> ----------
>>
>> ...but when I enter "Agda --version"
>> I still get 2.4.2.5
>>
>> and the original tutorial problems, resulting from the earlier version,
>> persist as before.
>>
>>
>> (Also: I added this
>>
>> ----------
>>
>> PATH=~/.cabal/bin:$PATH
>> export PATH
>>
>> -----------
>>
>> to the end of my ~/.profile document, as suggested on the Internet. But it
>> doesn't change my path when I call up a fresh session. What did I do
>> wrong?
>>
>> --Note: I don't think this problem is related to the first, because I was
>> checking the Agda version from within the same session with the altered
>> path
>> that enabled me to finally install the 2.5 Agda in the first place.)
>> Sent: Saturday, December 02, 2017 at 6:01 PM
>> From: "Andrés Sicard-Ramírez" <asr at eafit.edu.co>
>> To: "Manny Romero" <mannyromero at mail.com>
>> Cc: "Andreas Abel" <andreas.abel at ifi.lmu.de>, "Agda users"
>> <agda at lists.chalmers.se>
>> Subject: Re: [Agda] Trying to load modules from Norell OPLSS tutorial
>> On 2 December 2017 at 16:11, Manny Romero <mannyromero at mail.com> wrote:
>>> I am now attempting to use cabal to install the newest Agda. It keeps
>>> failing because of different programs I have not installed yet, so that's
>>> what I'm doing now. I am stuck at this point on one in particular, cpphs.
>>> What happened is I initially installed one version, 1.19.3, using "sudo
>>> apt
>>> install", but this was apparently not as new as the Agda 2.5 requires.
>>> I was
>>> able to use cabal to install the latest, cabal-1.20.8, but apparently
>>> this
>>> does not affect what is found under usr/bin/cpphs. Nor can I use the
>>> "sudo
>>> apt install cabal-1.20.8" at this point; it reports that it cannot find
>>> it.
>>> What is going on here?
>>
>> It seems you installed two versions of cpphs:
>>
>> cpphs 1.19.3 in usr/bin/cpphs (vía sudo apt install) and
>>
>> cpphs 1.20.8 in ~/.cabal/bin/cpphs (via cabal install)
>>
>> but you didn't add the directory ~/.cabal/bin to your path.
>>
>> Note: The directory ~/.cabal/bin should be the first one in your path.
>>
>> --
>> Andrés
>> La información contenida en este correo electrónico está dirigida
>> únicamente
>> a su destinatario y puede contener información confidencial, material
>> privilegiado o información protegida por derecho de autor. Está prohibida
>> cualquier copia, utilización, indebida retención, modificación, difusión,
>> distribución o reproducción total o parcial. Si usted recibe este mensaje
>> por error, por favor contacte al remitente y elimínelo. La información
>> aquí
>> contenida es responsabilidad exclusiva de su remitente por lo tanto la
>> Universidad EAFIT no se hace responsable de lo que el mensaje contenga.
>> The
>> information contained in this email is addressed to its recipient only and
>> may contain confidential information, privileged material or information
>> protected by copyright. Its prohibited any copy, use, improper retention,
>> modification, dissemination, distribution or total or partial
>> reproduction.
>> If you receive this message by error, please contact the sender and delete
>> it. The information contained herein is the sole responsibility of the
>> sender therefore Universidad EAFIT is not responsible for what the message
>> contains.
>> La información contenida en este correo electrónico está dirigida
>> únicamente
>> a su destinatario y puede contener información confidencial, material
>> privilegiado o información protegida por derecho de autor. Está prohibida
>> cualquier copia, utilización, indebida retención, modificación, difusión,
>> distribución o reproducción total o parcial. Si usted recibe este mensaje
>> por error, por favor contacte al remitente y elimínelo. La información
>> aquí
>> contenida es responsabilidad exclusiva de su remitente por lo tanto la
>> Universidad EAFIT no se hace responsable de lo que el mensaje contenga.
>> The
>> information contained in this email is addressed to its recipient only and
>> may contain confidential information, privileged material or information
>> protected by copyright. Its prohibited any copy, use, improper retention,
>> modification, dissemination, distribution or total or partial
>> reproduction.
>> If you receive this message by error, please contact the sender and delete
>> it. The information contained herein is the sole responsibility of the
>> sender therefore Universidad EAFIT is not responsible for what the message
>> contains.
>
>
>
> --
> Andrés
> La información contenida en este correo electrónico está dirigida únicamente
> a su destinatario y puede contener información confidencial, material
> privilegiado o información protegida por derecho de autor. Está prohibida
> cualquier copia, utilización, indebida retención, modificación, difusión,
> distribución o reproducción total o parcial. Si usted recibe este mensaje
> por error, por favor contacte al remitente y elimínelo. La información aquí
> contenida es responsabilidad exclusiva de su remitente por lo tanto la
> Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The
> information contained in this email is addressed to its recipient only and
> may contain confidential information, privileged material or information
> protected by copyright. Its prohibited any copy, use, improper retention,
> modification, dissemination, distribution or total or partial reproduction.
> If you receive this message by error, please contact the sender and delete
> it. The information contained herein is the sole responsibility of the
> sender therefore Universidad EAFIT is not responsible for what the message
> contains.
> La información contenida en este correo electrónico está dirigida únicamente
> a su destinatario y puede contener información confidencial, material
> privilegiado o información protegida por derecho de autor. Está prohibida
> cualquier copia, utilización, indebida retención, modificación, difusión,
> distribución o reproducción total o parcial. Si usted recibe este mensaje
> por error, por favor contacte al remitente y elimínelo. La información aquí
> contenida es responsabilidad exclusiva de su remitente por lo tanto la
> Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The
> information contained in this email is addressed to its recipient only and
> may contain confidential information, privileged material or information
> protected by copyright. Its prohibited any copy, use, improper retention,
> modification, dissemination, distribution or total or partial reproduction.
> If you receive this message by error, please contact the sender and delete
> it. The information contained herein is the sole responsibility of the
> sender therefore Universidad EAFIT is not responsible for what the message
> contains.
--
Andrés
La información contenida en este correo electrónico está dirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida por derecho de autor. Está prohibida cualquier copia, utilización, indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains.
More information about the Agda
mailing list