haskell - 无法在 Windows 中安装 cabal-dev

标签 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 平台。

最佳答案

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

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

关于haskell - 无法在 Windows 中安装 cabal-dev,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11181428/

相关文章:

haskell - 什么是 Cabal 组件以及如何使用它们?

haskell - Haskell 中的种类文字

haskell - 在编程语言和范例的上下文中, "Pure"是什么意思?

haskell - 读取多行用户输入

haskell - 使用 Nix,如何在启用分析的情况下指定 Haskell 依赖项?

haskell - 为什么 "cabal sdist"不包含所有 "files needed to build"?

haskell - 使用 cabal 更新 agda 时出现内存不足情况错误?

Haskell SDL : Can't find mingw32. dll

haskell - Cabal 安装包奇怪地失败

haskell - cabal install 挂起安装 yesod-platform