logo       

Bug in the installation scripts (trivial): msg#00016

lang.haskell.glasgow.bugs

Subject: Bug in the installation scripts (trivial)

Hello,
I just installed ghc on Mandrake Linux 10, from the file
glasgow-haskell-bugs@xxxxxxxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise