Skip to content

Instantly share code, notes, and snippets.

@yuga
Created February 21, 2012 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuga/1873379 to your computer and use it in GitHub Desktop.
Save yuga/1873379 to your computer and use it in GitHub Desktop.
ghc-mod-1.10.8 installation issue
$ cab install ghc-mod
Resolving dependencies...
Downloading ghc-mod-1.10.8...
Configuring ghc-mod-1.10.8...
Preprocessing executables for ghc-mod-1.10.8...
Building ghc-mod-1.10.8...
[ 1 of 16] Compiling GHCChoice ( GHCChoice.hs, dist\build\ghc-mod\ghc-mod-tmp\GHCChoice.o )
[ 2 of 16] Compiling Gap ( Gap.hs, dist\build\ghc-mod\ghc-mod-tmp\Gap.o )
[ 3 of 16] Compiling ErrMsg ( ErrMsg.hs, dist\build\ghc-mod\ghc-mod-tmp\ErrMsg.o )
[ 4 of 16] Compiling Types ( Types.hs, dist\build\ghc-mod\ghc-mod-tmp\Types.o )
[ 5 of 16] Compiling GHCApi ( GHCApi.hs, dist\build\ghc-mod\ghc-mod-tmp\GHCApi.o )
[ 6 of 16] Compiling Cabal ( Cabal.hs, dist\build\ghc-mod\ghc-mod-tmp\Cabal.o )
[ 7 of 16] Compiling Paths_ghc_mod ( dist\build\autogen\Paths_ghc_mod.hs, dist\build\ghc-mod\ghc-mod-tmp\Paths_ghc_mod.o )
[ 8 of 16] Compiling List ( List.hs, dist\build\ghc-mod\ghc-mod-tmp\List.o )
[ 9 of 16] Compiling Lint ( Lint.hs, dist\build\ghc-mod\ghc-mod-tmp\Lint.o )
[10 of 16] Compiling Flag ( Flag.hs, dist\build\ghc-mod\ghc-mod-tmp\Flag.o )
[11 of 16] Compiling Lang ( Lang.hs, dist\build\ghc-mod\ghc-mod-tmp\Lang.o )
[12 of 16] Compiling Info ( Info.hs, dist\build\ghc-mod\ghc-mod-tmp\Info.o )
Info.hs:50:10:
Illegal instance declaration for `HasType (LHsExpr Id)'
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `HasType (LHsExpr Id)'
Info.hs:60:10:
Illegal instance declaration for `HasType (LHsBind Id)'
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `HasType (LHsBind Id)'
Info.hs:64:10:
Illegal instance declaration for `HasType (LPat Id)'
(All instance types must be of the form (T t1 ... tn)
where T is not a synonym.
Use -XTypeSynonymInstances if you want to disable this.)
In the instance declaration for `HasType (LPat Id)'
cabal: Error: some packages failed to install:
ghc-mod-1.10.8 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment