logo       

[ ghc-Bugs-1025941 ] Big problems running ghc and ghci: msg#00047

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1025941 ] Big problems running ghc and ghci

Bugs item #1025941, was opened at 2004-09-10 15:57
Message generated for change (Comment added) made by simonmar
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1025941&group_id=8032

Category: Compiler
Group: 6.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Big problems running ghc and ghci

Initial Comment:
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@xxxxxxxxxxx,
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@xxxxxxxxxxx
Thanks in advance
Josh

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2004-09-13 10:47

Message:
Logged In: YES
user_id=48280

We don't have RPMs specifically for Mandrake - did you
install the RedHat 9.0 ones? This might be the problem
(though I doubt it).

Could you do the following:create a simple Haskell source
file, such as

main = putStr "hello world"

try to compile it with your installed GHC, like so:

$ ghc -c -v test.hs

and post the output here. Thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1025941&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise