标签:gcc-c++ $path not ssi unix figure -- local usr
安装环境:
yum -y install make gcc gcc-c++ kernel-devel m4 glibc-devel autoconf
yum -y install ncurses-devel openssl openssl-devel unixODBC unixODBC-devel
下载erlang到src
解压,切换目录至 cd otp_src_19.3,检查环境
./configure --prefix=/usr/local/erlang --with-ssl --enable-hipe --enable-threads --enable-smp-support --enable-kernel-poll --without-javac
环境正常显示如下:
********************************************************************* ********************** APPLICATIONS DISABLED ********************** ********************************************************************* jinterface : Java compiler disabled by user ********************************************************************* ********************************************************************* ********************** APPLICATIONS INFORMATION ******************* ********************************************************************* wx : wxWidgets not found, wx will NOT be usable ********************************************************************* ********************************************************************* ********************** DOCUMENTATION INFORMATION ****************** ********************************************************************* documentation : fop is missing. Using fakefop to generate placeholder PDF files. *********************************************************************
编译,安装
make && make install
设置环境变量
# vim /etc/profile export PATH=$JAVA_HOME/bin/:$PATH:/usr/local/erlang/bin:$PATH
source /etc/profile
标签:gcc-c++ $path not ssi unix figure -- local usr
原文地址:https://www.cnblogs.com/BaiLaowu/p/9575217.html