Windows上的Haskell - Cabal失败了

时间:2017-03-02 19:29:40

标签: windows haskell cabal haskell-platform

在Windows上全新安装Haskell,我刚刚接受了安装程序中的默认设置,没有触及任何内容,然后尝试使用cabal:

C:\t>cabal install hfmt
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal
update' to download it.
cabal: There is no package named 'hfmt'.
You may need to run 'cabal update' to get the latest list of available
packages.

C:\t>cabal update
Downloading the latest package list from hackage.haskell.org

C:\t>cabal install hfmt
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: hfmt-0.0.2.3 (user goal)
trying: process-1.4.3.0/installed-1.4... (dependency of
optparse-applicative-0.13.1.0)
trying: Win32-2.3.1.1/installed-2.3... (dependency of
process-1.4.3.0/installed-1.4...)
next goal: stylish-haskell (dependency of hfmt-0.0.2.3)
rejecting: stylish-haskell-0.7.1.0, stylish-haskell-0.7.0.0,
stylish-haskell-0.6.5.0, stylish-haskell-0.6.4.0, stylish-haskell-0.6.3.0,
stylish-haskell-0.6.2.0, stylish-haskell-0.6.1.0, stylish-haskell-0.6.0.0
(conflict: hfmt => stylish-haskell<0.6)
rejecting: stylish-haskell-0.5.17.0, stylish-haskell-0.5.16.0,
stylish-haskell-0.5.15.2, stylish-haskell-0.5.15.1, stylish-haskell-0.5.15.0,
stylish-haskell-0.5.14.4, stylish-haskell-0.5.14.3, stylish-haskell-0.5.14.2,
stylish-haskell-0.5.14.1, stylish-haskell-0.5.14.0, stylish-haskell-0.5.13.0,
stylish-haskell-0.5.12.0, stylish-haskell-0.5.11.2, stylish-haskell-0.5.11.1,
stylish-haskell-0.5.11.0, stylish-haskell-0.5.10.2, stylish-haskell-0.5.10.1,
stylish-haskell-0.5.10.0, stylish-haskell-0.5.9.1, stylish-haskell-0.5.9.0,
stylish-haskell-0.5.8.0, stylish-haskell-0.5.7.0, stylish-haskell-0.5.6.1,
stylish-haskell-0.5.6.0, stylish-haskell-0.5.5.2, stylish-haskell-0.5.5.1,
stylish-haskell-0.5.5.0, stylish-haskell-0.5.4.0, stylish-haskell-0.5.3.0,
stylish-haskell-0.5.2.0, stylish-haskell-0.5.1.0 (conflict: process =>
directory==1.3.0.0/installed-1.3..., stylish-haskell => directory>=1.1 &&
<1.3)
rejecting: stylish-haskell-0.5.0.2, stylish-haskell-0.5.0.1,
stylish-haskell-0.5.0.0 (conflict: Win32 =>
bytestring==0.10.8.1/installed-0.1..., stylish-haskell => bytestring>=0.9 &&
<0.10)
rejecting: stylish-haskell-0.4.0.0, stylish-haskell-0.3.2.0,
stylish-haskell-0.3.1.0, stylish-haskell-0.3.0.0, stylish-haskell-0.2.0.2,
stylish-haskell-0.2.0.1, stylish-haskell-0.2.0.0, stylish-haskell-0.1.1.0,
stylish-haskell-0.1.0.0 (conflict: hfmt => stylish-haskell>=0.5)
Backjump limit reached (currently 2000, change with --max-backjumps or try to
run with --reorder-goals).

尝试使用--max-backjumps=20000--reorder-goals重新运行最后一个命令,两种情况都会产生相同的结果。

我有什么遗失的吗?

0 个答案:

没有答案