[ ghc-Bugs-458449 ] GHCi cannot start

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Sep 2001 10:04:04 -0700


Bugs item #458449, was opened at 2001-09-04 10:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=458449&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Arjen Hommersom (arjenh)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi cannot start

Initial Comment:
GHCi cannot start if started in the standard library
directory.

=========================================

$ pwd
/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/.


=================================================

It does work in any other directory.

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

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