嗯..。我放弃了:
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附言:我正在使用Haskell平台btw。
发布于 2012-06-25 15:03:45
这是包本身的问题。有pull request可以解决这个问题。
您可以从hackage获取cabal-dev归档文件,将其解压并自行修复.cabal文件。
https://stackoverflow.com/questions/11181428
复制相似问题