[ ghc-Bugs-913728 ] Error in installation (fixed)

SourceForge.net noreply at sourceforge.net
Wed Mar 10 16:57:30 EST 2004


Bugs item #913728, was opened at 2004-03-10 13:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=913728&group_id=8032

Category: Build System
Group: 6.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error in installation (fixed)

Initial Comment:
Hello,

I just installed ghc on Mandrake Linux 10, from the file 
glasgow-haskell-bugs at haskell.org.

I was getting an error when I ran ghc and ghci:

Hsc static flags: -static
*** Parser:

<interactive>:1:
    Could not find interface file for `GHC.Exception&#039;
    locations searched:
        GHC/Exception.hs
        GHC/Exception.lhs
        /usr/local/lib/ghc-6.2/imports/GHC/Exception.hi

<interactive>:1:
    Could not find interface file for `GHC.Handle&#039;
    locations searched:
        GHC/Handle.hs
        GHC/Handle.lhs
        /usr/local/lib/ghc-6.2/imports/GHC/Handle.hi

<interactive>:1:
    Could not find interface file for `GHC.IO&#039;
    locations searched:
        GHC/IO.hs
        GHC/IO.lhs
        /usr/local/lib/ghc-6.2/imports/GHC/IO.hi

<interactive>:1:
    Could not find interface file for `System.IO.Error&#039;
    locations searched:
        System/IO/Error.hs
        System/IO/Error.lhs
        /usr/local/lib/ghc-6.2/imports/System/IO/Error.hi

<interactive>:1:
    Failed to load interface for `GHC.Base&#039;:
        Could not find interface file for `GHC.Base&#039;
        locations searched:
/usr/local/lib/ghc-6.2/imports/GHC/Base.hi
*** Deleting temp files
Deleting:
ghc-6.2: panic! (the `impossible&#039; happened, GHC version
6.2):
        interactiveUI:setBuffering



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

I&#039;ve been able to solve it with

cd /usr/local/lib/ghc-6.2/imports/System

ln -s io IO

cd /usr/local/lib/ghc-6.2/imports/

ln -s ghc GHC

Maurizio

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

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


More information about the Glasgow-haskell-bugs mailing list