J'essaye d'installer l'éditeur "yi" en utilisant cabal-install, qui à son tour installe le paquet 'derive-2.3.0.2'. Je reçois l'erreur suivante lors de la compilation de Derive:Erreur bizarre pendant derive-2.3.0.2 build
[53 of 58] Compiling Data.Derive.Internal.Traversal (Data/Derive/Internal/Traversal.hs, dist/build/Data/Derive/Internal/Traversal.o) Data/Derive/Internal/Traversal.hs:34:0: 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-2.3.0.2 failed during the building phase. The exception was: ExitFailure 1
Bien sûr, j'ai essayé de le construire avec --ghc-option = -XTypeSynonymInstances, ce qui donne une autre erreur de compilation. J'utilise ubuntu maverick 32 bits avec ghc-6.12.1 et cabal-install 0.8.2. Le ghc a été installé depuis le dépôt du paquet. La cabine a été installée en utilisant:
cabal-install cabal
Alex.