Ooops, apparently I forgot to reply to the list. Sorry. ---------- Forwarded message ---------- From: Ozgur Akgun <[email protected]> Date: 22 September 2011 16:49 Subject: Re: [Haskell-cafe] problem with cabal install MissingH-1.1.1.0 To: Mariano Cortesi <[email protected]>
Hi Mariano. On 22 September 2011 12:48, Mariano Cortesi <[email protected]> wrote: > I'm with mac OS X lion, ghc version 7.2.1 > and when a i try to install MissingH version 1.1.1.0 it fails with > > [24 of 47] Compiling Data.BinPacking ( src/Data/BinPacking.hs, > dist/build/Data/BinPacking.o ) > > src/Data/BinPacking.hs:45:6: > Illegal datatype context (use -XDatatypeContexts): (Num size, > This is weird, because on OS X Lion, and with the following versions, it doesn't fail for me: The Glorious Glasgow Haskell Compilation System, version 7.2.1 cabal-install version 0.10.2 using version 1.12.0 of the Cabal library Nevertheless, you can try the following to do what cabal asks you to do: cabal install --ghc-option=-XDatatypeContexts Which will give a warning, but should succeed anyway. Hope this helps, Ozgur -- Ozgur Akgun
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
