haskell - cabal安装提示:错误模块`ErrUtils'不导出`pprErrMsgBagWithLoc'

时间:2015-08-18 15:47:11

标签: haskell cabal hint

尝试使用hintghc 7.4.1在我的计算机上安装cabal-install version 0.14.0 Debian GNU / Linux 7.6(wheezy)  using version 1.14.0 of the Cabal library

我收到以下错误:

Registering ghc-paths-0.1.0.9...
Downloading hint-0.4.2.2...
Configuring hint-0.4.2.2...
Building hint-0.4.2.2...
Preprocessing library hint-0.4.2.2...
[ 1 of 23] Compiling Hint.SignalHandlers ( src/Hint/SignalHandlers.hs, dist/build/Hint/SignalHandlers.o )
[ 2 of 23] Compiling Hint.Util        ( src/Hint/Util.hs, dist/build/Hint/Util.o )
[ 3 of 23] Compiling Hint.CompatPlatform ( src/Hint/CompatPlatform.hs, dist/build/Hint/CompatPlatform.o )
[ 4 of 23] Compiling Hint.GHC         ( src/Hint/GHC.hs, dist/build/Hint/GHC.o )

src/Hint/GHC.hs:45:37:
    Module `ErrUtils' does not export `pprErrMsgBagWithLoc'
cabal: Error: some packages failed to install:
hint-0.4.2.2 failed during the building phase. The exception was:
ExitFailure 1

如何解决此错误?

0 个答案:

没有答案