Opened 7 years ago

Closed 7 years ago

Last modified 4 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: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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 7 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 6 years ago by simonmar

  • Architecture changed from Multiple to Unknown/Multiple

comment:3 Changed 4 years ago by simonmar

  • Difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.