Re: [Haskell] Building extra-libs
On 6/4/07, bft <[EMAIL PROTECTED]> wrote: 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 Could you provide a link to the package which you are trying to install? AGL -- Adam Langley [EMAIL PROTECTED] http://www.imperialviolet.org 650-283-9641 ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] Building extra-libs
FOTSING TALLA Bernard wrote: They are available in the 'extra libraries' distribution on http://haskell.org/ghc/download_ghc_661.html * ghc-6.6.1-src-extralibs.tar.bz2 (1.8 MB). I tried the arrows package and it failed with that message. The version of Cabal shipped with 6.6.1 unfortunately isn't compatible with some of those packages, so you have to either (a) get binary versions of the libraries, presumably from the same place you got GHC, or (b) upgrade Cabal. You can also get the sources for arrows from its darcs repository, http://darcs.haskell.org/packages/arrows. The current sources are compatible again with the Cabal library in GHC 6.6.1. Cheers, Simon ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
Re: [Haskell] Building extra-libs
On Mon, Jun 04, 2007 at 08:53:41PM +0100, bft wrote: > > 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 ? Commenting out the type signature for add_ghc_options in Setup.hs should fix it. Thanks Ian ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell