[ ghc-Bugs-435537 ] file location problems in ghci

noreply@sourceforge.net noreply@sourceforge.net
Tue, 26 Jun 2001 00:47:36 -0700


Bugs item #435537, was opened at 2001-06-22 11:24
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=435537&group_id=8032

Category: None
Group: 5.00
Status: Open
Resolution: None
>Priority: 3
Submitted By: Leon Smith (lsmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: file location problems in ghci

Initial Comment:
This bug isn't that important, but it is a little
odd.   If I try to run GHCi in the directory where  the
prelude .hi files are, it can't find the interface
files.   I don't know of any other directories where
this phenomenom occurs, although I did try a number of
the other directories off imports.



lps@peace:/usr/local/lib/ghc-5.00.2/imports/std$ ghci
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version
5.00.2, For Haskell 98.
/ /_\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package std ... linking ... done.

<no file>:0:
    failed to load interface for `IO': Module `IO' is
not loaded

<no file>:0: Variable not in scope: `IO.hFlush'

<no file>:0:
    failed to load interface for `PrelHandle':
        Module `PrelHandle' is not loaded

<no file>:0: Variable not in scope: `PrelHandle.stderr'
ghc-5.00.2: panic! (the `impossible' happened, GHC
version 5.00.2):
        interactiveUI:stderr

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


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

>Comment By: Leon Smith (lsmith)
Date: 2001-06-26 00:47

Message:
Logged In: YES 
user_id=251909

Ahh yes... I have the same problem in
/usr/local/src/ghc-5.00.2/ghc/lib/std

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

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