Haskell Plugin - keeps asking for ghc-mod install

Using the Haskell plugin (from Intelij), every time i start a new project, or restart the same one, I get a message "ghc-mod" not found, install? I say yes, but get errors (below), but then evereythign seems to run fine. Trying to install via cabal, fails the same way (obviously...).

Resolving dependencies...
Configuring old-time-1.1.0.3...
Failed to install old-time-1.1.0.3
Build log ( C:\Users\guthrie\AppData\Roaming\cabal\logs\old-time-1.1.0.3.log ):
Configuring old-time-1.1.0.3...
configure: WARNING: unrecognized options: --with-compiler
checking for gcc... e:\PLang\Haskell Platform\8.0.1\mingw\bin\gcc.exe
checking whether the C compiler works... no
configure: error: in `/tmp/cabal-tmp-16912/old-time-1.1.0.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
cabal: Leaving directory 'C:\Users\guthrie\AppData\Local\Temp\cabal-tmp-16912\old-time-1.1.0.3'
cabal: Error: some packages failed to install:
cpphs-1.20.3 depends on old-time-1.1.0.3 which failed to install.
ghc-mod-5.7.0.0 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.41 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

0

请先登录再写评论。