[Haskell-cafe] cabal install...
sturdyi12 at mail.wlu.edu
Wed Nov 21 15:08:39 CET 2012
The latest version of cabal-dev on Hackage does not seem to have had its dependencies updated for GHC 7.6. Try installing off github (https://github.com/creswick/cabal-dev).
From: haskell-cafe-bounces at haskell.org [haskell-cafe-bounces at haskell.org] on behalf of Eric Velten de Melo [ericvmelo at gmail.com]
Sent: Tuesday, November 20, 2012 7:54 PM
To: Johan Tibell
Cc: Gregory Guthrie; haskell-cafe at haskell.org
Subject: Re: [Haskell-cafe] cabal install...
I have a dream of one day being able to install leksah without having
to downgrade ghc. Right now I can't even install cabal-dev with cabal.
It will break ghc if I do.
2012/11/20 Johan Tibell <johan.tibell at gmail.com>:
> On Tue, Nov 20, 2012 at 1:10 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
>> Now when I tried to run Leksah, I get not only some broken packages (which
>> I can avoid for my current project), but:
>> <command line>: cannot satisfy -package-id
>> base-220.127.116.11-7c83b96f47f23db63c42a56351dcb917 is unusable due to
>> missing or recursive dependencies:
>> (use -v for more information)
>> So I tried to install base, then re-install it, but both fail;
>> Any hints?
> From this email and some of the previous emails it seems that your package
> DB is in a pretty bad state, most likely from using --force-reinstalls. When
> Cabal warns you that this will break stuff it actually means it. :) My
> suggestion is that you
> rm -rf ~/.ghc/x86_64-linux-7.6.1 # or equivalent on your system.
> Then reinstall all the packages you want by listing them all at once
> cabal install pkg1 pkg2 pk3
> By listing them all together cabal-install tries to come up with an install
> plan that is globally consistent for all of them.
> -- Johan
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
More information about the Haskell-Cafe