Hello,
I just installed ghc on Mandrake Linux 10, from the file 
[EMAIL PROTECTED]

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'
    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'
    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'
    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'
    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':
        Could not find interface file for `GHC.Base'
        locations searched: /usr/local/lib/ghc-6.2/imports/GHC/Base.hi
*** Deleting temp files
Deleting:
ghc-6.2: panic! (the `impossible' happened, GHC version 6.2):
        interactiveUI:setBuffering



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

I'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
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to