
I installed the 6.10.1 .pkg on my MacBook Air, and ghci works fine, but if I type ghci, I get program not found. Is it supposed to be available for Mac?

You must be having some kind of path issue, ghci is surely there. Here's what I see on my office iMac:
home % echo $PATH /usr/local/bin:/usr/local/sbin:/usr/texbin:/bin:/sbin:/usr/bin:/usr/ sbin:/Local/bin
home % which ghci /usr/bin/ghci
home % cat `which ghci` #!/bin/sh exec /Library/Frameworks/GHC.framework/Versions/610/usr/bin/ ghc-6.10.1 --interactive ${1+"$@"}
In other words, ghci is a script in /usr/bin pointing to the actual installation, which is handled as a Framework. Just another place to stash stuff, different than what one does in Linux. Echo $PATH, watch for spaces in volume names (who knows!?), see if the "real" file is there, do the above also for ghc itself to see where it ended up. I'm sure it will be something simple... Dave On Nov 20, 2008, at 2:08 PM, Colin Adams wrote:
I installed the 6.10.1 .pkg on my MacBook Air, and ghci works fine, but if I type ghci, I get program not found. Is it supposed to be available for Mac? _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

I had this problem. The installer didn't make the sym links from / usr/bin/ghc* to /Library/Frameworks/GHC.framework/Versions/Current/usr/ bin/ ghc* The issue was I had installed the beta package and not removed it. The fix was to uninstall 6.10.1 using /Library/Frameworks/ GHC.framework/Tools/Uninstaller and then reinstall the package. -r On Nov 20, 2008, at 11:08 AM, Colin Adams wrote:
I installed the 6.10.1 .pkg on my MacBook Air, and ghci works fine, but if I type ghci, I get program not found. Is it supposed to be available for Mac? _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (3)
-
Colin Adams
-
Dave Bayer
-
R Hayes