Error installing Haskell DJinn - base-3.0.3.1 was excluded due to -any top-level dependency database

I tried installing Djinn using cabal but got the following error -

$ cabal install djinn --verbose
Reading available packages...
Resolving dependencies...
cabal: cannot configure djinn-2009.9.3. It requires base ==3.*
For the dependency on base ==3.* there are these packages: base-3.0.3.1 and
base-3.0.3.2. However none of them are available.
base-3.0.3.1 was excluded because of the top level dependency base -any
base-3.0.3.2 was excluded because of the top level dependency base -any

The error message is mysterious, shouldn't base -anyallow the basic version 3.0.3.1?

+3
source share
2 answers

From the Haskell mailing list:

This is not a great error message. Now the base is a special package. It comes with ghc and cannot be updated. This is why Cabal will exclude all base versions, but one that you already installed. If you have the latest ghc, this will be base-4.

Hope this helps.

+2
source

AFAIK, GHC 7 base 3. (lennart * at * augustsson.net), . , djinn.cabal, base base 4.*. , .

0

All Articles