我正在尝试在 CentOS 6.5 上安装 pandoc
。
$ ghc -V; cabal -V
The Glorious Glasgow Haskell Compilation System, version 7.8.2
cabal-install version 0.10.2
using version 1.10.2.0 of the Cabal library
我跑:
cabal update
cabal install pandoc
我得到:
cabal: cannot configure random-1.0.1.3. It requires base >=5 && <5
There is no available version of base that satisfies >=5 && <5
我找不到解决这个问题的方法。
最佳答案
安装更新版本的 cabal-install,您使用的版本相当旧并且依赖项解决程序相当弱。
关于haskell - cabal:无法配置 random-1.0.1.3。它需要 base >=5 && <5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26793507/