Skip to content

Instantly share code, notes, and snippets.

@seanjensengrey
Created August 3, 2016 18:32
Show Gist options
  • Save seanjensengrey/84ea742053be3abd441909bda59ad318 to your computer and use it in GitHub Desktop.
Save seanjensengrey/84ea742053be3abd441909bda59ad318 to your computer and use it in GitHub Desktop.
centos erlang build using kerl
curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
chmod +x kerl

sudo yum install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf java-1.8.0-openjdk-devel git
sudo yum install pam-devel
sudo yum install perl-Digest-SHA-5.85-3.el7.x86_64


CFLAGS="-DOPENSSL_NO_EC=1" ./kerl build git https://github.com/basho/otp OTP_R16B02_basho10 R16B02-basho10
sudo mkdir /opt/erlang
sudo chown build:build /opt/erlang
./kerl install R16B02-basho10 /opt/erlang/R16B02-basho10
. /opt/erlang/R16B02-basho10/activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment