标签:host home group mpi 虚拟机 false tools .gz async
1、基础软件包安装系统版本
[root@localhost erlang]# cat /etc/redhat-release
CentOS release 6.6 (Final)
yum groupinstall "Base" "Development Tools" "Perl Support"
装不上报错 多装两遍 一定要装上,安装完组包从新启动下虚拟机
yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel rsync perl-net-snmp wx fop net-snmp unixODBC unixODBC-devel vim make lrzsz bc sysstat lsof wget xz ncurses-devel
重启一下虚拟机
wget http://erlang.org/download/otp_src_20.0.tar.gz
tar -xf otp_src_20.0.tar.gz -C /usr/local/src
cd /usr/local/src/
chown -R root:root *
LANG=C; export LANG
./configure --prefix=/usr/local/erlang
make
make install
**configure 正确map结果**
*********************************************************************
********************** APPLICATIONS DISABLED **********************
*********************************************************************
jinterface : No Java compiler found
*********************************************************************
*********************************************************************
********************** APPLICATIONS INFORMATION *******************
*********************************************************************
wx : wxWidgets not found, wx will NOT be usable
*********************************************************************
vim /etc/profile
#erlang path
ERL_HOME=/usr/local/erlang
export PATH=$ERL_HOME/bin:$PATH
source /etc/profile
测试为这个表示成功
[root@localhost otp_src_20.0]# erl
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.0 (abort with ^G)
标签:host home group mpi 虚拟机 false tools .gz async
原文地址:http://blog.51cto.com/1983939925/2134315