[Haskell-cafe] Cabal-Install Fails To Compile

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Jun 12 22:58:59 EDT 2008

On Thu, 2008-06-12 at 16:07 -0500, Aditya Siram wrote:
> 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'

Yeah, sorry that was my fault. You caught it in the few hours when the
two darcs versions were not compatible. They work now, or as Don says,
get the actual releases from hackage.


More information about the Haskell-Cafe mailing list