On 2 Dec 2010 at 01:09:18, Iain Alexander wrote:

> So where's it getting the 6.4.1 ghc-pkg from?

It turns out that the only PATH-accessible copy of cabal[.exe] was in
.../ghc-6.4.1/bin, and it appears that cabal by default uses the versions of 
ghc and ghc-pkg in the same directory as itself.

Any attempt to install mtl-2 with ghc-6.4.1 is understandably doomed to 
failure, so given cabal-install's mission, I can see why even cabal fetch would 
fail.

The solution was to put a copy of cabal.exe in .../ghc-6.12.3/bin, and then 
everything went smoothly.
-- 
Iain Alexander      i...@stryx.demon.co.uk


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to