1.下载对应的文件
[root@ceph-node1 ~]# wget http://www.erlang.org/download/otp_src_R16B02.tar.gz
2.解压
[root@ceph-node1 ~]# tar zxvf otp_src_R16B02.tar.gz
[root@ceph-node1 ~]# cd otp_src_R16B02/
[root@ceph-node1 ~]#./configure
出现以下报错:
configure: error: No curses library functions found
configure: error: /bin/sh '/root/otp_src_R16B02/erts/configure' failed for erts
yum install ncurses-devel -y
重新编译安装:
[root@ceph-node1 ~]#./configure
********************** APPLICATIONS DISABLED ***************
*********************************************************************
crypto : No usable OpenSSL found
jinterface : No Java compiler found
odbc : ODBC library - link check failed
orber : No C++ compiler found
ssh : No usable OpenSSL found
ssl : No usable OpenSSL found
*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION ***********
*********************************************************************
wx : wxWidgets not found, wx will NOT be usable
*********************************************************************
*********************************************************************
********************** DOCUMENTATION INFORMATION ********
*********************************************************************
documentation :
fop is missing.
Using fakefop to generate placeholder PDF files.
*********************************************************************
安装openssl
[root@ceph-node1 otp_src_R16B02]#yum list | grep ssl
[root@ceph-node1 otp_src_R16B02]# yum install openssl-devel -y
./configure
报错:
*********************************************************************
********************** APPLICATIONS DISABLED **********************
*********************************************************************
jinterface : No Java compiler found
odbc : ODBC library - link check failed
orber : No C++ compiler found
*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************
wx : wxWidgets not found, wx will NOT be usable
*********************************************************************
*********************************************************************
********************** DOCUMENTATION INFORMATION ******************
*********************************************************************
documentation :
fop is missing.
Using fakefop to generate placeholder PDF files.
*********************************************************************
[root@ceph-node1 otp_src_R16B02]# yum list | grep ODBC
[root@ceph-node1 otp_src_R16B02]# yum install unixODBC-devel -y
./configure
*********************************************************************
********************** APPLICATIONS DISABLED **********************
*********************************************************************
jinterface : No Java compiler found
orber : No C++ compiler found
*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************
wx : wxWidgets not found, wx will NOT be usable
*********************************************************************
*********************************************************************
********************** DOCUMENTATION INFORMATION ******************
*********************************************************************
documentation :
fop is missing.
Using fakefop to generate placeholder PDF files.
*********************************************************************
[root@ceph-node1 otp_src_R16B02]# yum install gcc-c++ -y
./configure