Skip to content

Instantly share code, notes, and snippets.

  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Installing GHC 7.6.1 on Mac OS X 10.8 Mountain Lion

Installing GHC 7.6.1 on Mac OS X

This is a brief and bare-bones guide to getting GHC 7.6.1 and the cabal-install 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 Edited concept to work with GHC 7.6.1

TODO Not complete, just introduction changed

Installing GHC

Downloading and installing GHC 7.6.1 for x86_64 (Darwin) is straightforward. Use ./configure --prefix=<prefix> if you want it somewhere else.

curl -O
tar -xjvf ghc-7.6.1-x86_64-apple-darwin.tar.bz2
cd ghc-7.6.1
make install

Installing cabal-install

The problem I ran into was downloading cabal-install 0.14.0 from the Cabal webpages instead of the updated cabal-install 1.16.0.

curl -O
tar -xzvf cabal-install-1.16.0.tar.gz
cd cabal-install-1.16.0

The script is provided by cabal-install as an easy way to get cabal-install and all its dependencies up and running.

Copy link

I had this problem after installing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment