Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#1224 closed bug (fixed)

ghci failed to load

Reported by: guest Owned by:
Priority: high Milestone:
Component: GHCi Version: 6.6
Keywords: ghci Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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.

Change History (3)

comment:1 Changed 11 years ago by igloo

Resolution: fixed
Status: newclosed

I probably broke this when fixing the paths to use variables rather than /usr/local. Now fixed; thanks for the report!

comment:2 Changed 9 years ago by simonmar

Architecture: MultipleUnknown/Multiple

comment:3 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.