You need XCode and libgd installed and then the following script should work pasted into a terminal window:
cd /tmp curl http://www.erlang.org/download/otp_src_R12B-2.tar.gz | tar xz cd otp_src_R12B-2 ./configure --enable-smp-support --enable-hipe --enable-darwin-universal # If you see an ODBC warning don't sweat it make sudo make install cd ..
Posted on December 20th, 2007 by dysinger
Filed under: @work
The tar command line arguments shold be xz, not xf.
Ah! Thanks & fixed. (I typed that part by hand instead of going by my notes.)
no tar -xz this is a compressed gz file
@art The commands above download and extract at the same time. Those commands work. I am not sure what you mean by your comment.
[...] Tim Dysinger ยป Compiling Erlang on Mac OS X Leopard from Scratch (tags: erlang install leopard source tutorial howto) [...]