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=detailatid=108032aid=1025941group_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:
[EMAIL PROTECTED] 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
[EMAIL PROTECTED],
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:
[EMAIL PROTECTED]
Thanks in advance
Josh
--
Comment By: Simon Marlow (simonmar)
Date: 2004-09-17 09:19
Message:
Logged In: YES
user_id=48280
It looks like the directory that should be called GHC is
called ghc, and this is causing your problem.
What kind of filesystem are you using? Would it be a
case-insenstive filesystem by any chance?
Try renaming /usr/local/lib/ghc-6.2.1/imports/ghc to
/usr/local/lib/ghc-6.2.1/imports/GHC, and see if that helps.
--
Comment By: Josh (joshrenton)
Date: 2004-09-16 11:55
Message:
Logged In: YES
user_id=1122339
Yes, in /usr/local/lib/ghc-6.2.1/imports/
there are quite a few .hi files
also in /usr/local/lib/ghc-6.2.1/imports/ghc/
Exception.hi
is there even though it says that it cant find.
I remember checking this the first time it gave me the
error. anyway here is the contents of
/usr/local/lib/ghc-6.2.1/imports/
Array.hi* Debug/MarshalAlloc.hi*
Ptr.p_hi*
Array.p_hi* Directory.hi* MarshalAlloc.p_hi* Random.hi*
Bits.hi* Directory.p_hi* MarshalArray.hi*
Random.p_hi*
Bits.p_hi*Foreign/ MarshalArray.p_hi*
Ratio.hi*
CError.hi*Foreign.hi* MarshalError.hi*
Ratio.p_hi*
CError.p_hi*Foreign.p_hi* MarshalError.p_hi*
StablePtr.hi*
CForeign.hi*ForeignPtr.hi*MarshalUtils.hi*
StablePtr.p_hi*
CForeign.p_hi* ForeignPtr.p_hi* MarshalUtils.p_hi*
Storable.hi*
Char.hi*ghc/ Maybe.hi*
Storable.p_hi*
Char.p_hi* Int.hi* Maybe.p_hi* System/
Complex.hi*Int.p_hi* Monad.hi*
System.hi*
Complex.p_hi* IO.hi*Monad.p_hi*
System.p_hi*
Control/ IO.p_hi* Network/Text/
CPUTime.hi* Ix.hi*Network.hi* Time.hi*
CPUTime.p_hi* Ix.p_hi* Network.p_hi* Time.p_hi*
CString.hi* Language/ Numeric.hi*
Word.hi*
CString.p_hi* List.hi* Numeric.p_hi*
Word.p_hi*
CTypes.hi*List.p_hi*Prelude.hi*
CTypes.p_hi*Locale.hi*Prelude.p_hi*
Data/ Locale.p_hi* Ptr.hi*
and here is the contents of
/usr/local/lib/ghc-6.2.1/imports/ghc/
Arr.hi* Float.hi* Pack.hi* ST.hi*
Arr.p_hi*Float.p_hi* Pack.p_hi*
Storable.hi*
Base.hi* ForeignPtr.hi*PArr.hi*
Storable.p_hi*
Base.p_hi* ForeignPtr.p_hi* PArr.p_hi*
ST.p_hi*
Conc.hi* Handle.hi*PrimopWrappers.hi*
STRef.hi*
Conc.p_hi* Handle.p_hi* PrimopWrappers.p_hi*
STRef.p_hi*
Dotnet.hi* Int.hi* Ptr.hi*
TopHandler.hi*
Dotnet.p_hi* Int.p_hi* Ptr.p_hi*
TopHandler.p_hi*
Enum.hi* IOBase.hi*Read.hi*
Unicode.hi*
Enum.p_hi* IOBase.p_hi* Read.p_hi*
Unicode.p_hi*
Err.hi* IO.hi*Real.hi*
Weak.hi*