[Haskell-beginners] Couple of problems with leksah

Daniel Fischer daniel.is.fischer at googlemail.com
Tue Nov 8 02:18:34 CET 2011


On Tuesday 08 November 2011, 01:59:47, Peter Hall wrote:
> I didn't get any response on the Leksah forum, so I hope it's ok to ask
> here.

Sure. Anything Haskell-related is okay to ask here.

> 
> First problem, I keep seeing this in the error log:
> > Setup: You need to re-run the 'configure' command. The version of
> > Cabal being used has changed (was Cabal-1.10.2.0, now
> > Cabal-1.10.1.0). Additionally the compiler is different (was
> > ghc-6.12, now ghc-7.0) which is probably the cause of the problem.
> 
> When I run configure, it just prints:
> > Resolving dependencies...
> > Configuring pokercalc-0.0.1...
> 
> But it doesn't fix anything.

Sorry, no idea for that one.

> 
> The other problem is when I try to update cabal:
> > cabal install leksah
> 
> Resolving dependencies...
> cabal: cannot configure haddock-2.9.4. It requires ghc >=7.2 && <7.4
> There is no available version of ghc that satisfies >=7.2 && <7.4

haddock-2.9.4 is exclusively for ghc-7.2, with ghc-7.0, you need 
haddock-2.9.2, try

$ cabal install leksah --constraint="haddock < 2.9.4"
 
> 
> I'm using Haskell Platform 2011.2.0.1 for Mac OS X 10.6
> Any ideas?
> 
> Peter




More information about the Beginners mailing list