Error in installation (fixed)
Hello,
I just installed ghc on Mandrake Linux 10, from the file
glasgow-haskell-bugs@haskell.org.
I was getting an error when I ran ghc and ghci:
Hsc static flags: -static
*** Parser:
<interactive>:1:
Could not find interface file for `GHC.Exception'
locations searched:
GHC/Exception.hs
GHC/Exception.lhs
/usr/local/lib/ghc-6.2/imports/GHC/Exception.hi
<interactive>:1:
Could not find interface file for `GHC.Handle'
locations searched:
GHC/Handle.hs
GHC/Handle.lhs
/usr/local/lib/ghc-6.2/imports/GHC/Handle.hi
<interactive>:1:
Could not find interface file for `GHC.IO'
locations searched:
GHC/IO.hs
GHC/IO.lhs
/usr/local/lib/ghc-6.2/imports/GHC/IO.hi
<interactive>:1:
Could not find interface file for `System.IO.Error'
locations searched:
System/IO/Error.hs
System/IO/Error.lhs
/usr/local/lib/ghc-6.2/imports/System/IO/Error.hi
<interactive>:1:
Failed to load interface for `GHC.Base':
Could not find interface file for `GHC.Base'
locations searched:
/usr/local/lib/ghc-6.2/imports/GHC/Base.hi
*** Deleting temp files
Deleting:
ghc-6.2: panic! (the `impossible' happened, GHC version
6.2):
interactiveUI:setBuffering
--------------
I've been able to solve it with
cd /usr/local/lib/ghc-6.2/imports/System
ln -s io IO
cd /usr/local/lib/ghc-6.2/imports/
ln -s ghc GHC
Maurizio
Trac metadata
Trac field |
Value |
Version |
6.2 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedNoReason |
Component |
Build System |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|