当我尝试安装hlint时,收到关于old-time-1.1.0.3的错误 [英] When I try to install hlint I get errors surrounding old-time-1.1.0.3
问题描述
我首先尝试安装Hlint. cabal install hlint
,但随后出现错误:
I first tried to install Hlint. cabal install hlint
but then I got the error:
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是该package(?)的依赖项.认为这可能会解决问题.所以我做了cabal install ghc-mod
这给了我错误.
Then I tried to install ghc-mod since I read that hlint is a dependency of that package(?). Thinking that it might resolve the problem. So i did cabal install ghc-mod
which gave me the error.
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
周围似乎是同样的问题.
So it seems to be the same problem, around my the package old-time-1.1.0.3
.
推荐答案
了解失败之处的最佳方法是浏览每个失败的软件包,然后一个接一个地安装它们.
The best way to know where it fails is to go through each failed package and install them one after the other.
我遇到了haskell-src-exts
的问题,该问题出现在hlint
中,当我尝试cabal install haskell-src-exts
时,没有正确安装happy
.
I had issue with haskell-src-exts
in which showed up in hlint
and when I tried to cabal install haskell-src-exts
it was happy
that wasn't properly installed.
这篇关于当我尝试安装hlint时,收到关于old-time-1.1.0.3的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!