[Haskell-cafe] Weird error during derive-18.104.22.168 build
alex.shtf at gmail.com
Sun Dec 12 23:07:25 CET 2010
I am trying to install the "yi" editor using cabal-install, which in turns
installs the package 'derive-22.214.171.124'. I get the following error during
[53 of 58] Compiling Data.Derive.Internal.Traversal (
Illegal instance declaration for `Applicative (Writer w)'
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `Applicative (Writer w)'
cabal: Error: some packages failed to install:
derive-126.96.36.199 failed during the building phase. The exception was:
Of course, I tried to build it with --ghc-option=-XTypeSynonymInstances,
which in turn gives another compilation error.
I am using ubuntu maverick 32-bit, with ghc-6.12.1 and cabal-install 0.8.2.
The ghc was installed from the package repository. Cabal was installed
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe