[Haskell-cafe] Cabal-Install Fails To Compile

Aditya Siram aditya_siram at hotmail.com
Thu Jun 12 17:07:12 EDT 2008


Hi all,
I downloaded cabal-install and the cabal-1.4 branch from darcs. The following error occurs when building:
> runhaskell Setup.hs build

Building cabal-install-0.4.9...
[19 of 27] Compiling Hackage.SrcDist  ( Hackage/SrcDist.hs, dist/build/cabal/cabal-tmp/Hackage/SrcDist.o )

Hackage/SrcDist.hs:58:59:
    Couldn't match expected type `Char'
           against inferred type `Distribution.Simple.PreProcess.PPSuffixHandler'
      Expected type: FilePath
      Inferred type: [Distribution.Simple.PreProcess.PPSuffixHandler]
    In the fifth argument of `prepareSnapshotTree', namely
        `knownSuffixHandlers'
    In the second argument of `(>>=)', namely
        `prepareSnapshotTree
           verbosity pkg mb_lbi tmpDir knownSuffixHandlers'


According to ghc-pkg compiling and installing the cabal-1.4 branch added cabal-1.3.12. Is this the problem? 

-Deech 
_________________________________________________________________
It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how.
https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow


More information about the Haskell-Cafe mailing list