Opened 13 years ago

Closed 13 years ago

Last modified 44 years ago

#587 closed bug (Fixed)

GHCi cannot start

Reported by: arjenh Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: 5.0
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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.

Change History (1)

comment:1 Changed 13 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 
user_id=48280

Fixed in 5.02.
Note: See TracTickets for help on using tickets.