Were you trigger happy with the installation of OSX Mavericks? Here are quick steps to bring your haskell back. Tips referenced from cartazio:
-
Make sure you have xcode 5 cli tools for OSX Mavericks installed. Go to that link, download and install.
-
Get the proper gcc version. Open up your terminal and type
brew install apple-gcc42
and then followed bybrew link apple-gcc42
. Test things out with a fresh new terminal window and typewhich gcc-4.2
. Note that you may have to updatebrew update
. (you may have to uninstall or brew update, or brew link apple-gcc42)
$ brew install apple-gcc42
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg