[Haskell-cafe] Cabal: top level dependency base -any
mail at andres-loeh.de
Tue May 24 09:28:30 CEST 2011
> Could anyone shed light on the meaning of this error message?
> cabal: cannot configure xmonad-0.9.1 It requires base ==3.*
> For the dependency on base ==3.* there are these packages: base-126.96.36.199 and
> base-188.8.131.52. However none of them are available.
> base-184.108.40.206 was excluded because of the top level dependency base -any
> base-220.127.116.11 was excluded because of the top level dependency base -any
It's not a great error message. Yes, xmonad-0.9.1 requires base ==3.*.
So far, so good. Now, base is a special package. It comes with ghc,
and cannot be upgraded. That's why Cabal will rule out all base
versions but the one you already have installed. If you have a recent
ghc, that'll be base-4.
So Cabal is correct to fail in this case: you cannot install this
version of xmonad with this version of ghc. But yes, the error message
could (and hopefully soon will) be improved.
More information about the Haskell-Cafe