使用git下載編譯erlang

git clone https://github.com/erlang/otp
cd otp
git tag
git checkout -b OTP-18.2.2 OTP-18.2.2
./otp_build all
export LANG=en
./configure --prefix=/usr/local/otp-18.2.2
make
make install 
make install-docs

 上面的好像有錯,貼一個從erlang官網下載的編譯過程吧:git

tar xzf otp_src_18.2.1.tar.gz
export LANG=en
cd otp_src_18.2.1
export ERL_TOP=`pwd`
./configure --prefix=/usr/local/otp_src-18.2.1 && make clean
make && make tests && make install && make install-docs
相關文章
相關標籤/搜索