Created
March 11, 2012 13:50
-
-
Save ibtaylor/2016514 to your computer and use it in GitHub Desktop.
ghc 7.4.1 in os x lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Warning, if you prepended macports paths to your PATH, you may have issues. | |
# | |
# which ar => /usr/bin/ar | |
# which gcc => /usr/bin/gcc | |
# which ld => /usr/bin/ld | |
# | |
# maybe others are important too.. | |
# | |
# install Xcode 4.3.1 | |
# install Xcode command line tools | |
# Navigate menus: Xcode -> Preferences -> Downloads -> Command Line Tools -> Install | |
# | |
# ghc 7.4.1 | |
# | |
curl -O http://www.haskell.org/ghc/dist/7.4.1/GHC-7.4.1-x86_64.pkg | |
sudo installer -target / -pkg GHC-7.4.1-x86_64.pkg | |
# | |
# cabal-install | |
# | |
git clone git://github.com/ibtaylor/cabal-install.git | |
cd cabal-install | |
# Install ignoring any stuff in our normal PATH like /opt/local/bin (ports) | |
# in user dir | |
bash -c 'unset PATH; . /etc/profile; bash bootstrap.sh --user' | |
# or globally | |
sudo bash -c 'unset PATH; . /etc/profile; bash bootstrap.sh --global' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment