Created
May 30, 2013 18:42
-
-
Save buddhisthead/5680099 to your computer and use it in GitHub Desktop.
This file contains 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
First download your otp_15b01 tarrball and untar it. | |
http://www.erlang.org/download/otp_src_R15B01.tar.gz | |
Get the patch into a file called "zdss.patch" | |
https://gist.github.com/slfritchie/5624609 | |
Notes on how to apply a patch, in case you're interested. You probably already know this. | |
http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/ | |
Put the patch into the top level of your OTP source dir and apply patch. | |
$ patch -p1 < zdss.patch | |
Build erlang | |
$ ./configure --prefix=/usr/local/erlang/R15B01.64bit --enable-vm-probes --with-dynamic-trace=dtrace --enable-darwin-64bit | |
$ make | |
$ sudo make install | |
Add erlang to your path. My build landed in the default place: /usr/local/erlang/R15B01.64bit/bin/erl | |
I edited by .profile to add /usr/local/erlang/R15B01.64bit/bin to my path. You can also use the install | |
target to change your destination, but I got lost reading the INSTALL doc - there are SO many variables. | |
Rebuild your devrel(s) or they won't contain the new erlang beam. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment