在ubuntu11.04上安装erlang R14B03

在ubuntu11.04上按照默认的安装erlangR14B03,hipe不能工作

# erl
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [kernel-poll:false]

Eshell V5.8.4  (abort with ^G)

参照http://codeswamp.com/2011/05/25/installing-erlang-r14b03-on-ubuntu-11-04/

安装步骤如下

apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk
tar -xvzf otp_src_R14B03.tar.gz -C /software/erlang/
cd /software/erlang
chmod -R 777 otp_src_R14B03
cd otp_src_R14B03
./configure --prefix=/usr/local/erlang --enable-hipe --enable-threads --enable-smp-support --enable-kernel-poll
make
make install

安装后

Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:8:8] [rq:8] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.4  (abort with ^G)

相关推荐