http://www.erlang.org/downloads
安装到 /usr/local/erlang 目录 , 忽略 javac 编译器
报错 :
configure: error: No curses library functions found configure: error: /bin/sh '/root/otp/erts/configure' failed for erts解决方法 :
# yum -y install ncurses-devel报错 :
********************************************************************* ********************** APPLICATIONS DISABLED ********************** ********************************************************************* crypto : No usable OpenSSL found jinterface : Java compiler disabled by user odbc : ODBC library - link check failed orber : No C++ compiler found ssh : No usable OpenSSL found ssl : No usable OpenSSL found *********************************************************************解决方法 :
# yum list | grep ssl # yum install openssl-devel报错 :
********************************************************************* ********************** APPLICATIONS DISABLED ********************** ********************************************************************* jinterface : Java compiler disabled by user odbc : ODBC library - link check failed orber : No C++ compiler found *********************************************************************解决方法 :
# yum list | grep ODBC # yum install unixODBC-devel报错 :
********************************************************************* ********************** APPLICATIONS DISABLED ********************** ********************************************************************* jinterface : Java compiler disabled by user orber : No C++ compiler found *********************************************************************解决方法 :
# yum install gcc-c++ # ./configure --prefix /usr/local/erlang --without-javac # make # make install添加到 PATH 目录 , 以便快速启动 :
# vim /etc/profile添加一行 :
PATH=$PATH:/usr/local/erlang/bin使配置生效 :
# source /etc/profile个人网站: Github , 欢迎点击给星