无法在Windows中安装cabal-dev

时间:2012-06-24 21:42:25

标签: haskell cabal cabal-install

是的......我放弃了:

PS D:\Projects\yesod\webapp> cabal install cabal-dev --force-reinstalls
Resolving dependencies...
Warning: The following packages are likely to be broken by the reinstalls:
haskell-platform-2012.2.0.0
Continuing even though the plan contains dangerous reinstalls.
Configuring network-2.3.0.14...
cabal.exe: The package has a './configure' script. This requires a Unix
compatibility toolchain such as MinGW+MSYS or Cygwin.
cabal.exe: Error: some packages failed to install:
HTTP-4000.2.3 depends on network-2.3.0.14 which failed to install.
cabal-dev-0.9.1 depends on network-2.3.0.14 which failed to install.
network-2.3.0.14 failed during the configure step. The exception was:
ExitFailure 1

P.S。:我正在使用Haskell平台btw。

1 个答案:

答案 0 :(得分:2)

这是包本身的问题。有pull request来解决此问题。

您可以从hackage抓取cabal-dev存档,解压缩并自行修复.cabal文件。