[Haskell-beginners] Missing or recursive dependencies

Daniel Fischer daniel.is.fischer at web.de
Thu Sep 2 12:11:04 EDT 2010


On Thursday 02 September 2010 17:27:49, Lyndon Maydwell wrote:
> The thing is that ghc-pkg check returns nothing.

Okay, I think that's a good sign, sort of. Does

$ ghc-pkg list Cabal

list one Cabal-1.8.0.6 in the global db and one in the user-db?
If so, unregister the one in the user-db

$ ghc-pkg unregister --user Cabal-1.8.0.6

If it complains that would break anything, post the message.

>
> On Thu, Sep 2, 2010 at 5:44 PM, Daniel Fischer <daniel.is.fischer at web.de> 
wrote:
> > On Thursday 02 September 2010 11:31:01, Lyndon Maydwell wrote:
> >> Hi beginners.
> >>
> >> I'm getting an odd problem quite a lot recently:
> >>
> >> ghc -fglasgow-exts --make -O2 -W X.hs -v -o X
> >>
> >> package Cabal-1.8.0.6-ec9be469687b5a514f4b7e8e2b8343c7 is shadowed by
> >> package Cabal-1.8.0.6-c995b90190c27e1dfa2ab3d5434fabef
> >
> > You have two versions of Cabal-1.8.0.6, probably you should unregister
> > the one in the user-db.



More information about the Beginners mailing list