[Haskell-cafe] Solved: Re: How to cabal fetch mtl==2.0.0.0?

Iain Alexander ia at stryx.demon.co.uk
Fri Dec 3 00:49:03 CET 2010


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      ia at stryx.demon.co.uk




More information about the Haskell-Cafe mailing list