Created
June 27, 2009 16:17
-
-
Save jamesp/137032 to your computer and use it in GitHub Desktop.
Setting up erlang on the mac
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
### Download and install | |
cd /tmp | |
curl http://erlang.org/download/otp_src_R13B03.tar.gz | tar zx | |
cd otp_src_R13B | |
./configure --enable-hipe | |
make | |
sudo make install | |
sudo mkdir -p /Library/Erlang/lib | |
mkdir -p ~/Library/Erlang/lib | |
### Add this to .profile | |
ERL_LIBS=/Library/Erlang/lib | |
if [ -d $HOME/Library/Erlang/lib ]; then | |
ERL_LIBS=$HOME/Library/Erlang/lib:$ERL_LIBS | |
fi | |
export ERL_LIBS | |
### Add libraries | |
cd /Library/Erlang/lib | |
# mochiweb | |
sudo svn co http://mochiweb.googlecode.com/svn/trunk/ mochiweb-trunk | |
cd mochiweb-trunk | |
sudo make | |
cd .. | |
git clone git://github.com/rklophaus/nitrogen.git nitrogen-master | |
cd nitrogen-master | |
make | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment