[Haskell] Building extra-libs

bft bfotsing at gmail.com
Mon Jun 4 15:53:41 EDT 2007


Hello
I want to build and install some extralibs using Cabal. I have the
Cabal-1.1.6.2 version installed.
When I run the command
$ runghc Setup.hs configure --ghc --user --prefix=$HOME
it fails with the message
Setup.hs:17:30:
    Couldn't match expected type `UserHooks'
           against inferred type `Maybe UserHooks'
      Expected type: Hook a
      Inferred type: PackageDescription
                     -> LocalBuildInfo
                     -> Maybe UserHooks
                     -> BuildFlags
                     -> IO ()
    In the second argument of `($)', namely
        `buildHook defaultUserHooks'
    In the `buildHook' field of a record

How can I fixe this bug ?
Thanks
B. Fotsing Talla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20070604/08e55b2a/attachment.htm


More information about the Haskell mailing list