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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to