很奇怪,erlang有windows平台的安裝包,但是沒有linux平台的rpm,也沒找到yum源。偷懶未遂,只好用源代碼安裝,沒想到erlang安裝的時候依賴的東西還蠻多的。安裝過程如下:
[[email protected] Linuxidc]# wget http://www.erlang.org/download/otp_src_R14B03.tar.gz
tar -zxvf otp_src_R14B03.tar.gz
cd otp_src_R14B03
[[email protected] Linuxidc]# yum install openssl.i386
[[email protected] Linuxidc]# yum install openssl-devel.i386
[[email protected] Linuxidc]# yum install unixODBC.i386
[[email protected] Linuxidc]# yum install unixODBC-devel.i386
[[email protected] Linuxidc]# ./configure --prefix=/usr/local/
[root@stu112 wxWidgets-2.9.1]# yum install wxGTK.i386
[root@stu112 wxWidgets-2.9.1]# yum install wxGTK-devel.i386
[[email protected] Linuxidc]# ./configure --prefix=/usr/local/
fukefop 是可選的,可以不裝。
[[email protected] Linuxidc]# ./configure --prefix=/usr/local/
make
make install