install erlang

下载erlang源代码安装

下载地址 http://www.erlang.org/download/otp_src_17.5.tar.gz

解压 tar zxvf otp_src_17.5.tar.gz

./configure

安装相关依赖包

1 checking for C compiler defult output file name...C compiler cannot create executables
See `config.log` for more details.

sudo aptitude install build-essential

 

 2 No curses library functions found

sudo aptitude install libncurses5-dev

 

 

crypto         : No usable OpenSSL found
jinterface     : No Java compiler found
odbc           : ODBC library - link check failed
ssh            : No usable OpenSSL found
ssl            : No usable OpenSSL found

 

sudo aptitude install unixodbc unixodbc-dev

sudo aptitude install openjdk-7-jdk

sudo aptitude install libssl-dev

 

 

sudo yum -y install gcc

sudo yum -y install ncurses-devel

sudo yum -y openssl-devel

sudo yum -y install java-1.7.0-openjdk-devel

sudo yum -y install unixODBC-devel

sudo yum -y install gcc-c++

 

编译源代码

make

 

安装

sudo make install

 

你可能感兴趣的:(Install)