ghci failed to load
Working through Haskell in 5 steps I attempted to execute ghci after installing 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.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | high |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture | Multiple |