gpt4 book ai didi

haskell - 当我尝试安装 hlint 时,出现围绕 old-time-1.1.0.3 的错误

转载 作者:行者123 更新时间:2023-12-04 11:48:55 26 4
gpt4 key购买 nike

我首先尝试安装 Hlint。 cabal install hlint但后来我得到了错误:

cabal: Error: some packages failed to install:
cpphs-1.20.2 depends on old-time-1.1.0.3 which failed to install.
haskell-src-exts-1.18.2 depends on old-time-1.1.0.3 which failed to install.
hlint-1.9.37 depends on old-time-1.1.0.3 which failed to install.
old-time-1.1.0.3 failed during the configure step. The exception was:
ExitFailure 77

然后我尝试安装 ghc-mod,因为我读到 hlint 是该包的依赖项(?)。认为它可能会解决问题。所以我做了 cabal install ghc-mod这给了我错误。
cabal: Error: some packages failed to install:
cpphs-1.20.2 depends on old-time-1.1.0.3 which failed to install.
ghc-mod-5.6.0.0 depends on old-time-1.1.0.3 which failed to install.
haskell-src-exts-1.17.1 depends on old-time-1.1.0.3 which failed to install.
hlint-1.9.35 depends on old-time-1.1.0.3 which failed to install.
old-time-1.1.0.3 failed during the configure step. The exception was:
ExitFailure 77

所以这似乎是同样的问题,围绕我的包 old-time-1.1.0.3 .

最佳答案

知道失败的最好方法是检查每个失败的包并一个接一个地安装它们。

我遇到了 haskell-src-exts 的问题其中出现在hlint当我尝试 cabal install haskell-src-exts它是 happy没有正确安装。

关于haskell - 当我尝试安装 hlint 时,出现围绕 old-time-1.1.0.3 的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39434709/

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