Cabal install scion-browser fails on Ubuntu 12.04 because haskeline needs Cabal library version> = 1.16

I installed EclipseFP, the Haskell plugin for Eclipse, on my Ubuntu 12.04, running on Eclipse 3.7.2 and ghc (i) 7.4.1. Each time I start Eclipse, EclipseFP asks me to install a supporting scion executable browser (0.2.12) and buildrunner (0.7.2), but it will ultimately fail to install both.

An attempt cabal install scion-browser(or cabal install haskeline) on the command line fails with

Resolving dependencies...
cabal: Error: some packages failed to install:
haskeline-0.7.1.2 failed during the configure step. The exception was:
user error (The package requires Cabal library version -any && >=1.16 but no
suitable version is installed.)

While cabal install buildwrapperfailing with

Resolving dependencies...
Configuring buildwrapper-0.7.7...
Building buildwrapper-0.7.7...
Preprocessing library buildwrapper-0.7.7...
[1 of 7] Compiling Language.Haskell.BuildWrapper.Base ( src/Language/Haskell/BuildWrapper/Base.hs, dist/build/Language/Haskell/BuildWrapper/Base.o )
[2 of 7] Compiling Language.Haskell.BuildWrapper.GHCStorage ( src/Language/Haskell/BuildWrapper/GHCStorage.hs, dist/build/Language/Haskell/BuildWrapper/GHCStorage.o )

src/Language/Haskell/BuildWrapper/GHCStorage.hs:542:22:
    Couldn't match expected type `scientific-0.2.0.1:Data.Scientific.Scientific'
                with actual type `Number'
    In the pattern: I l
    In the pattern: Number (I l)
    In the pattern: Just (Number (I l))
cabal: Error: some packages failed to install:
buildwrapper-0.7.7 failed during the building phase. The exception was:
ExitFailure 1

Any help would be greatly appreciated, as I seem to be unable to find any Google hits by any mistake.

EDIT:

Haskell (-, containers, runhaskell Setup.hs configure --user ), BuildWrapper, :

[3 of 7] Compiling Language.Haskell.BuildWrapper.GHC ( src/Language/Haskell/BuildWrapper/GHC.hs, dist/build/Language/Haskell/BuildWrapper/GHC.o )

src/Language/Haskell/BuildWrapper/GHC.hs:522:37:
    The function `showPpr' is applied to two arguments,
    but its type `a0 -> String' has only one
    In the second argument of `(++)', namely `showPpr dflags bname'
    In the expression: "show " ++ showPpr dflags bname
    In an equation for `exprS': exprS = "show " ++ showPpr dflags bname
+3
3

BuildWrapper Aeson. . https://github.com/JPMoresmau/BuildWrapper/issues/20. buildwrapper github ( ) Aeson 0.6. Haskeline , haskeline ?

+3

, cabal: Cabal -any && & >= 1.16.

cabal update
cabal install cabal
cabal install cabal-install
cabal --version

:    1.20.0.0 Cabal

PATH. cabal, , ~/.cabal/bin

cabal install haskeline
0

( `showPpr ' ), cabal, . aeson,

cabal install buildwrapper --constraint=aeson==0.6.2.1

, aeson , 0.6.2.1 , .

0

All Articles