剛剛更新了幾天前的GHC和cabal,現在很多pacakages無法構建。無法在Arch Linux上使用GHC 7.8構建vty-ui
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.2
$ cabal --version
cabal-install version 1.18.0.3
using version 1.18.1.3 of the Cabal library
我可以安裝vty
但不vty-ui
。我有以下錯誤:
$ cabal install vty-ui
Resolving dependencies...
In order, the following would be installed:
containers-0.3.0.0 (latest: 0.5.5.1) (new version)
mtl-1.1.1.1 (latest: 2.2.0.1) (new version)
QuickCheck-2.1.2 (latest: 2.7.3) (new package)
parallel-1.1.0.1 (latest: 3.2.0.4) (new version)
parsec-3.1.5 (reinstall) changes: mtl-2.1.3.1 -> 1.1.1.1
pcre-light-0.3.1.1 (latest: 0.4.0.2) +small_base (new package)
semigroups-0.13.0.1 (new package)
void-0.6.1 (new package)
MemoTrie-0.6.2 (new package)
vector-space-0.5.9 (latest: 0.8.6) (new package)
vty-4.2.1.0 (latest: 4.7.5) (new version)
vty-ui-0.4 (latest: 1.6.1) (new package)
cabal: The following packages are likely to be broken by the reinstalls:
vty-4.7.5
Use --force-reinstalls if you want to install anyway.
我可以只刪除所有上限還是必須有一些上限? – osager
是的,在這種情況下不會有任何區別。我只是提醒我,如果稍後必須重新安裝,請檢查新版本。 – Babu