cabal glib安装错误

时间:2015-02-01 20:53:38

标签: haskell ghc cabal glib

我尝试通过cabal安装安装glib

evgeny@virtuos:~$ cabal install glib-0.13.0.7
Resolving dependencies...
Failed to install glib-0.13.0.7
cabal: Error: some packages failed to install:
glib-0.13.0.7 failed during the configure step. The exception was:
user error (The package 'glib' requires Cabal library version -any && >=1.18
but no suitable version is installed.)
evgeny@virtuos:~$ cabal --version 
cabal-install version 1.20.0.3
using version 1.20.0.2 of the Cabal library

怎么了? 操作系统:Ubuntu 14.10 Cabal 1.20.0.3 GHC:7.6.3

1 个答案:

答案 0 :(得分:2)

运行cabal install cabal-install。 Daniel Wagner的建议很可能会提供与cabal --version不同的结果。