Skip to main content


Showing posts from June, 2009



Hmm,我的中文现在真好差。好可怜。=( 只能写几岁小孩子的句子。

How to Install Erlang on Mac

I just went through the steps of installing Erlang and Emacs (which is the official development environment for Erlang) on my Macbook Pro, and since it was a little convoluted, I thought I'd share it.
This document explains the steps needed to install Erlang with Emacs support on Mac OSX 10.5. I've chosen to install Erlang from source, because the Mac binaries tend to be out of date. For emacs, I've chosen Aquamacs, which is a nice native Mac emacs distribution.

First, I needed to download and install iPhone SDK, in order to get a C compiler (gcc). Could have gotten it from Developer Tools on the Mac OSX install disks, but I wanted the iPhone SDK anyway.Next, download erlang from source: -xvzf otp_src_R13B.tar.gz, cd otp_src_R13B, ./configure, make, sudo make installRun erl in a terminal to make sure the erlang interpreter starts properly.
Next, download Aquamacs, which is a native Mac emacs distribution., se…