Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Missing or recursive dependencies (Lyndon Maydwell)
2. Re: Missing or recursive dependencies (Daniel Fischer)
3. Re: Missing or recursive dependencies (Lyndon Maydwell)
4. Re: Missing or recursive dependencies (Lyndon Maydwell)
----------------------------------------------------------------------
Message: 1
Date: Thu, 2 Sep 2010 23:27:49 +0800
From: Lyndon Maydwell <[email protected]>
Subject: Re: [Haskell-beginners] Missing or recursive dependencies
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
The thing is that ghc-pkg check returns nothing.
On Thu, Sep 2, 2010 at 5:44 PM, Daniel Fischer <[email protected]> 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.
>
> Anyway, run ghc-pkg check first. Fix what that reports as broken by
> unregistering/reinstalling.
> Since what is shown below all directly or indirectly traces to ghc-6.12.3,
> which depends on Cabal-1.8.0.6, your two versions of that are probably the
> root cause, so I'd start with Cabal.
>
>> package QuickCheck-2.1.1.1-c7435cb0d5b5de72fe9540c48335606d is
>> unusable due to missing or recursive dependencies:
>> Â ghc-6.12.3-66a382195c8a71849653439b67021fd1
>> package bin-package-db-0.0.0.0-0dffb74a73bb78b5dc02ca941bbcbea0 is
>> unusable due to missing or recursive dependencies:
>> Â Cabal-1.8.0.6-ec9be469687b5a514f4b7e8e2b8343c7
>> package category-extras-0.53.5-ee54cd5c810a6c004a1b7a276d0e0076 is
>> unusable due to missing or recursive dependencies:
>> Â ghc-6.12.3-66a382195c8a71849653439b67021fd1
>> package comonad-random-0.1.2-897a5da683d269c3b2db3e03ac43279b is
>> unusable due to missing or recursive dependencies:
>> Â category-extras-0.53.5-ee54cd5c810a6c004a1b7a276d0e0076
>> ...
>>
>> I've asked on irc, and the consensus is that something is very wrong,
>> however we weren't able to diagnose the cause. It would probably be
>> worth looking at on-list for future reference.
>>
>> Does anyone have any ideas?
>
>
------------------------------
Message: 2
Date: Thu, 2 Sep 2010 18:11:04 +0200
From: Daniel Fischer <[email protected]>
Subject: Re: [Haskell-beginners] Missing or recursive dependencies
To: Lyndon Maydwell <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
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 <[email protected]>
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.
------------------------------
Message: 3
Date: Fri, 3 Sep 2010 00:25:15 +0800
From: Lyndon Maydwell <[email protected]>
Subject: Re: [Haskell-beginners] Missing or recursive dependencies
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
Ah.
/Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.3/package.conf.d
Cabal-1.8.0.6
/Users/lyndon/.ghc/i386-darwin-6.12.3/package.conf.d
Cabal-1.8.0.6
I've been making all my cabal-installs from my user account though.
Shouldn't I disable the global cabal?
On Fri, Sep 3, 2010 at 12:11 AM, Daniel Fischer
<[email protected]> wrote:
> 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 <[email protected]>
> 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.
>
>
------------------------------
Message: 4
Date: Fri, 3 Sep 2010 00:28:09 +0800
From: Lyndon Maydwell <[email protected]>
Subject: Re: [Haskell-beginners] Missing or recursive dependencies
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=UTF-8
I tried it, and it seems to have cleared up the error.
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 27, Issue 4
****************************************