This is a brief and bare-bones guide to getting GHC 7.6.1 and the
tool (the two basic things you'll need to do Haskell development) up and running
on Mac OS X 10.8 install.
The instructions given here worked for me, but YMMV.
Original on https://gist.github.com/1169332 Edited concept to work with GHC 7.6.1
TODO Not complete, just introduction changed
Downloading and installing GHC 7.6.1 for x86_64 (Darwin) is straightforward.
./configure --prefix=<prefix> if you want it somewhere else.
curl -O http://www.haskell.org/ghc/dist/7.6.1/ghc-7.6.1-x86_64-apple-darwin.tar.bz2 tar -xjvf ghc-7.6.1-x86_64-apple-darwin.tar.bz2 cd ghc-7.6.1 ./configure make install
The problem I ran into was downloading
cabal-install 0.14.0 from the Cabal webpages
instead of the updated
curl -O http://hackage.haskell.org/packages/archive/cabal-install/1.16.0/cabal-install-1.16.0.tar.gz tar -xzvf cabal-install-1.16.0.tar.gz cd cabal-install-1.16.0 sh bootstrap.sh
bootstrap.sh script is provided by
cabal-install as an easy way to get
cabal-install and all its dependencies up and running.