
2 Dec
2010
2 Dec
'10
6:49 p.m.
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@stryx.demon.co.uk