7

最初に 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

次に、hlint がそのパッケージの依存関係 (?) であると読んだので、ghc-mod をインストールしようとしました。それが問題を解決するかもしれないと考えています。だから私は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です。

4

4 に答える 4

4

どこで失敗したかを知る最善の方法は、失敗したパッケージを 1 つずつ調べて、1 つずつインストールすることです。

に表示される問題がありhaskell-src-exts、それhlintを試みたところ、正しくインストールされていませんでしたcabal install haskell-src-extshappy

于 2016-09-23T14:45:53.490 に答える
0

Windows または Linux を使用していますか? とはどういう意味ghc --versionですか? どうghc-pkg old-timeですか?直接実行することをお勧めしcabal install old-timeます。これにより、エラーが直接再現されます。

于 2016-09-12T07:58:44.757 に答える