[GHC] #1224: ghci failed to load

GHC trac at galois.com
Wed Mar 14 16:33:56 EDT 2007


#1224: ghci failed to load
----------------------------+-----------------------------------------------
    Reporter:  guest        |       Owner:         
        Type:  bug          |      Status:  new    
    Priority:  high         |   Milestone:         
   Component:  GHCi         |     Version:  6.6    
    Severity:  normal       |    Keywords:  ghci   
  Difficulty:  Easy (1 hr)  |    Testcase:         
Architecture:  Multiple     |          Os:  MacOS X
----------------------------+-----------------------------------------------
Working through [http://www.haskell.org/haskellwiki/Haskell_in_5_steps
 Haskell in 5 steps] I attempted to execute ghci after installing
 [http://haskell.org/ghc/download_ghc_66.html#macosxintel ghc-6.6-i386-
 apple-darwin.tar.bz2]. The output was:

 {{{
 Douglas $ ghci
 /usr/local/bin/ghci: line 12: /usr/local/lib/ghc-6.6: is a directory
 /usr/local/bin/ghci: line 12: exec: /usr/local/lib/ghc-6.6: cannot
 execute: Unknown error: 0
 }}}

 Editing /usr/local/bin/ghci-6.6 on line 9:

 {{{
 - GHCBIN="$libexecdir";
 + GHCBIN="$libexecdir/ghc-6.6";
 }}}

 seems to fix the problem.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1224>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list