Haskell Platform 2012.2.0.0 for Mac OS X をインストールする
1.Haskell Platform 2012.2.0.0 32bit.pkg をダブルクリック
Command Line Build Tools Required
と出たら、以下を実行する
(1)Xcode4.3を起動する。
(2)[Xcode]-[preferences…]-[Downloads]を選択。
(3)Command Line Tools(154.6MB)の右端の[Install]をクリック。
再度、Haskell Platform 2012.2.0.0 32bit.pkg をダブルクリック
2.「Haskell Platform のインストール」ウィンドウが表示されるので、[続ける]-[続ける]-[インストール]と選択
3.「インストールが完了しました。」と出るので[閉じる]をクリック
Older Versions
There are older versions of GHC and/or Haskell Platform on this system.
Run the command line tool uninstall-hs to find out more and how to remove then.
と表示されたら、古いGHCバージョンをアンインストールする。
$ uninstall-hs -- Versions found on this system 7.0.3 7.4.1 -- To remove a version and all earlier: uninstall-hs thru VERSION -- To remove only a single version: uninstall-hs only VERSION $ uninstall-hs thru 7.0.3 -- Would remove version 7.0.3 and earlier /Library/Frameworks/GHC.framework/Versions/7.0.3-i386 /Library/Haskell/ghc-7.0.3 /usr/bin/ghc-7.0.3@ -> /Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/bin/ghc-7.0.3 /usr/bin/ghc-pkg-7.0.3@ -> /Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/bin/ghc-pkg-7.0.3 /usr/bin/ghci-7.0.3@ -> /Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/bin/ghci-7.0.3 /usr/bin/haddock-ghc-7.0.3@ -> /Library/Frameworks/GHC.framework/Versions/7.0.3-i386/usr/bin/haddock-ghc-7.0.3 -- To actually remove these files, sudo run the command again with --remove -- To generate a script to remove these files, run the command again with --script $ uninstall-hs -- Versions found on this system 7.0.3 7.4.1 -- To remove a version and all earlier: uninstall-hs thru VERSION -- To remove only a single version: uninstall-hs only VERSION
アンインストールできなかったので、以下のようにコマンド実行
$ sudo uninstall-hs thru 7.0.3 --remove Password: -- Removing version 7.0.3 and earlier $ uninstall-hs -- Versions found on this system 7.4.1 -- To remove a version and all earlier: uninstall-hs thru VERSION -- To remove only a single version: uninstall-hs only VERSION