
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
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
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.