
On Sat, May 24, 2008 at 4:36 AM, Duncan Coutts
Run the configure step again with -v3, we should be able to see in the log exactly what string we got back from ghc.
Also, to make sure you're using the version of the Cabal library you expect, try:
ghc --make Setup.hs -package Cabal-1.2.3.0 ./Setup configure
That way we know what we're using, even if you happen to have multiple versions of Cabal installed or if runhaskell happens to point at hugs rather than ghc.
Duncan
Duncan, thanks for replying. Trying to use ghc --make Setup.hs failed with a bunch of linker errors, (although ghc-pkg reported that only Cabal-1.2.3.0 was installed), so somehow my Cabal libs must have gotten messed up. Anyway, rebuilding and reinstalling ghc fixed it. I don't know why cabal didn't fail on the other packages, maybe I forgot to clean them before I re-ran configure. I also don't know how the library got messed up; maybe I modified some other package that cabal depends on. Thanks, John