Ubuntu 下 Erlang R14B02 的安装

# install libraries and tools   
sudo apt-get install libncurses5-dev m4 fop freeglut3-dev libwxgtk2.8-dev g++ libssl-dev xsltproc build-essential tk8.5  
# download source code   
wget http://erlang.org/download/otp_src_R14B02.tar.gz  
tar zxvf otp_src_R14B02.tar.gz  
cd otp_src_R14B02/  
# compile and install  
./configure  --prefix=/home/x/erlang   
make  
make install  
  
# clean  
cd ..  
rm -r otp_src_R14B02
rm otp_src_R14B02.tar.gz  

 如果编译的过程中报错

/bin/bash: jar: command not found

posted @ 2013-05-12 21:47  firesnow  阅读(223)  评论(0编辑  收藏  举报