[Haskell-beginners] Re: missing ghci, need to install cca

Franco franco00 at gmx.com
Mon Jan 28 10:33:33 CET 2013


> Hi Franco,
> 
> I've seen this problem when you do not have ~/.cabal/bin in your path. Can
> you re-try cabal install Euterpea after adding ~/.cabal/bin in your path.
> Also, just check if ~/.cabal/bin has cca executable in there or not.
> Regards,
> Kashyap

I have added the directory to PATH, unfortunately compile fails with the same error:

src/Language/Haskell/TH/Instances.hs:175:18:
    Template Haskell splice illegal in a stage-1 compiler
          return (LitE (DoublePrimL (toRational d)))
          cabal: Error: some packages failed to install:
          CCA-0.1.3 failed during the building phase. The exception was:
          ExitFailure 1
          demo at efikamx:~/Desktop/media/git/Euterpea$

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/demo/.cabal/bin

there is no cca executable in ~/.cabal/bin

I will try to see if other packages will do. Thanks!

-F





More information about the Beginners mailing list