我剛剛重新安裝哈斯克爾平臺(here is why),並重新安裝哈斯克爾平臺後,我得到:Bash重新安裝後找不到ghc?
Drews-MacBook-Pro:Blokus-AI drewgross$ ghc
-bash: /usr/local/bin/ghc: No such file or directory
任何想法,爲什麼?我懷疑這是與我的道路或類似的東西有關,但我還沒有發現任何奇怪的東西。我可以直接使用GHC:
Drews-MacBook-Pro:Blokus-AI drewgross$ /usr/bin/ghc
ghc: no input files
Usage: For basic information, try the `--help' option.
和/ usr/bin中/在我的路徑:
Drews-MacBook-Pro:Blokus-AI drewgross$ echo $PATH
/Users/drewgross/.rvm/gems/ruby-1.9.3-p327/bin:/Users/drewgross/.rvm/gems/[email protected]/bin:/Users/drewgross/.rvm/rubies/ruby-1.9.3-p327/bin:/Users/drewgross/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin
還有什麼我能做什麼?
符號鏈接'/ usr/local/bin/ghc'到'/ usr/bin/ghc'? –
這聽起來像一個醜陋的黑客,雖然我認爲它會工作,我寧願避免像這樣的東西 – Drew