[Haskell-cafe] Re: missingH 0.18.6 - problems with cabal configure

Ben Franksen ben.franksen at online.de
Wed Aug 20 14:53:56 EDT 2008


Andrew U. Frank wrote:

> when i run cabal i get an error message:
> :~/haskellSources/packages/MissingH-0.18.6$ runhaskell Setup configure
> 
> Setup.hs:19:35:
>     Couldn't match expected type `(Either
>                                      GenericPackageDescription
> PackageDescription,
>                                    HookedBuildInfo)'
>            against inferred type `PackageDescription'
>     In the first argument of `(confHook defaultUserHooks)', namely
>         `mydescrip'
>     In the expression:
>         let
>           mydescrip = case os of
>                         "mingw32" -> ...
>                         _ -> ...
>         in (confHook defaultUserHooks) mydescrip flags
>     In the definition of `customConfHook':
>         customConfHook descrip flags
>                          = let mydescrip = ...
>                            in (confHook defaultUserHooks) mydescrip
> flags
> 
> 
> what is wrong? i use ghc 6.8.2 and cabal 1.2.3.0

Looks like you'll have to upgrade Cabal (the library). Which version exactly
you need I don't know but I'd try the latest and if that fails from there
on work backwards.

HTH
-- 
b32n



More information about the Haskell-Cafe mailing list