Skip to content

Big problems running ghc and ghci

When I try to run ghci this is what happens:

[root@localhost ghc-6.2.1]# ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version
6.2.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.


<interactive>:1:
Could not find interface file for `GHC.Exception'
(use -v to see a list of the files searched for)

<interactive>:1:
Could not find interface file for `GHC.Handle'
(use -v to see a list of the files searched for)

<interactive>:1:
Could not find interface file for `GHC.IO'
(use -v to see a list of the files searched for)

<interactive>:1:
Could not find interface file for `System.IO.Error'
(use -v to see a list of the files searched for)

<interactive>:1:
Failed to load interface for `GHC.Base':
Could not find interface file for `GHC.Base'
(use -v to see a list of the files searched for)
ghc-6.2.1: panic! (the `impossible' happened, GHC
version 6.2.1):
interactiveUI:setBuffering

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

Ok. I am running Linux Mandrake 10.0 OE
I got the rpm from www.haskell.org
I cannot compile programs that I know work on other
systems. I can't remember the exact error that I get
from ghc, but it has something to do with Error
checking and the libraries.
I have hugs and it works absolutely perfectly!
I am desperate for a fix for this problem!!
I can be contacted at: 
grain_fed_beef@hotmail.com
Thanks in advance
Josh
Trac metadata
Trac field Value
Version 6.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information