gpt4 book ai didi

haskell - Cabal Cabal-Install 不工作,奇怪的错误

转载 作者:行者123 更新时间:2023-12-04 04:38:35 27 4
gpt4 key购买 nike

我需要通过 Cabal 安装 Yesod 和依赖项,不幸的是我无法更新 cabal。外壳输出:

...$ sudo cabal install cabal-install 
Resolving dependencies...
Configuring cabal-install-1.18.0.2...

/tmp/24453.c:1:12:
warning: control reaches end of non-void function [-Wreturn-type]
int foo() {}
^
1 warning generated.
Building cabal-install-1.18.0.2...
Preprocessing executable 'cabal' for cabal-install-1.18.0.2...
<command line>: cannot satisfy -package-id HTTP-4000.2.8-cdf033f9d7051824f52cd5101df67509
(use -v for more information)
Failed to install cabal-install-1.18.0.2
cabal: Error: some packages failed to install:
cabal-install-1.18.0.2 failed during the building phase. The exception was:
ExitFailure 1
任何人都知道如何解决它?对我来说没有什么真正有意义的。

最佳答案

可以在这里找到解决方案:Installing & Building GHC with OSX Mavericks GHC

需要苹果的命令行工具!

谢谢!

关于haskell - Cabal Cabal-Install 不工作,奇怪的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19652729/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com