[Agda] install agda

Andrés Sicard-Ramírez asr at eafit.edu.co
Sat May 2 15:45:47 CEST 2020


I'm not familiar with installing two versions of Agda in the setup you
mentioned. For installing Agda 2.6.1 I would try:

  $ cabal get Agda
  $ cd Agda-2.6.1
  $ cabal sandbox init
  $ cabal install

On Sat, 2 May 2020 at 05:29, Michel Levy <michel.levy.imag at free.fr> wrote:
>
> I try again to run two agda versions, one is my old agda version 2.5.3
> installed by the Ubuntu package, the other was supposed to be installed
> with "cabal install Agda" But I am still with the same error, I
> described in this list the 18 March, and that I can't solved. Can you
> help me ?
>
> Andrés Sicard-Ramírez wrote "It seems you are mixing the installation of
> Agda from Ubuntu packages and from Hackage". Why it's not possible to
> install two versions of agda, one with ubuntu and the other with cabal ?
>
> Resolving dependencies...
> Configuring Agda-2.6.1...
> Building Agda-2.6.1...
> Failed to install Agda-2.6.1
> Build log ( /home/michel/.cabal/logs/Agda-2.6.1.log ):
> cabal: Entering directory '/tmp/cabal-tmp-7014/Agda-2.6.1'
> [1 of 1] Compiling Main             (
> /tmp/cabal-tmp-7014/Agda-2.6.1/dist/setup/setup.hs,
> /tmp/cabal-tmp-7014/Agda-2.6.1/dist/setup/Main.o )
> Linking /tmp/cabal-tmp-7014/Agda-2.6.1/dist/setup/setup ...
> Configuring Agda-2.6.1...
> Building Agda-2.6.1...
> Preprocessing library Agda-2.6.1...
> [  1 of 369] Compiling Paths_Agda       (
> dist/build/autogen/Paths_Agda.hs, dist/build/Paths_Agda.o )
> [  2 of 369] Compiling Agda.Version     ( src/full/Agda/Version.hs,
> dist/build/Agda/Version.o )
> [  3 of 369] Compiling Agda.VersionCommit (
> src/full/Agda/VersionCommit.hs, dist/build/Agda/VersionCommit.o )
>
> src/full/Agda/VersionCommit.hs:5:1: error:
>     Failed to load interface for ‘Development.GitRev’
>     There are files missing in the
>gitrev-1.3.1 at gitrev-1.3.1-6KBEbA9rw49F9GCJBEz6uX’ package,
>     try running 'ghc-pkg check'.
>     Use -v to see a list of the files searched for.
> cabal: Leaving directory '/tmp/cabal-tmp-7014/Agda-2.6.1'
> cabal: Error: some packages failed to install:
> Agda-2.6.1 failed during the building phase. The exception was:
> ExitFailure 1
>
> I run 'ghc-pkg check' and that give me many pages of errors starting with
>
> ghc-pkg check
> There are problems in package aeson-1.4.6.0:
>   Warning: library-dirs:
> /home/michel/.cabal/lib/i386-linux-ghc-8.0.2/aeson-1.4.6.0-1vlLcAj8kIrJVlnNw4kUo5
> doesn't exist or isn't a directory
>   Warning: dynamic-library-dirs:
> /home/michel/.cabal/lib/i386-linux-ghc-8.0.2 doesn't exist or isn't a
> directory
>   import-dirs:
> /home/michel/.cabal/lib/i386-linux-ghc-8.0.2/aeson-1.4.6.0-1vlLc
>
>
> --
> courriel : michel.levy.imag at free.fr
> mobile : 06 59 13 42 53
> web : michel.levy.imag.free.fr
>
> 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


More information about the Agda mailing list