cabal安装加速失败

时间:2016-06-27 03:34:30

标签: haskell ghc cabal accelerate

错误是:

mtl-2.2.1 failed during the building phase. The exception was:
ExitFailure 1
primitive-0.6.1.0 failed during the building phase. The exception was:
ExitFailure 1
text-1.2.2.1 failed during the building phase. The exception was:
ExitFailure 1
unordered-containers-0.2.7.1 depends on text-1.2.2.1 which failed to install.
vector-0.11.0.0 depends on primitive-0.6.1.0 which failed to install.

在ubuntu 14.04 cabal版本1.22.5.0和ghc 8.0.1上运行。

最初我安装了haskell平台,但后来我无法使用accele-cuda包,因为它没有更新为cuda 7.所以我试图更新ghc和cabal,我似乎已经设法做到了,但不知道从哪里开始。我是否需要将操作系统升级到ubuntu 16.04?真的很想让这个工作......

1 个答案:

答案 0 :(得分:1)

事实证明我只需要

  $ ~ rm -rf .cabal
  $ cabal install accelerate