在linux編譯erlang需要很多的依賴庫,這些東西缺一不可,下面就是在干淨linux環境下編譯erlang的命令,供大家參考
sudo aptitude install build-essential m4 ncurses-dev libssl-dev
sudo aptitude install flex unixodbc-dev fop
sudo aptitude install libwxbase2.8-dev libwxgtk2.8-dev libgl1-mesa-dev libglu1-mesa-dev libglut3-dev
sudo aptitude install sun-java6-jdk
cd erlangdir
./configure --prefix=/home/xxx/erlang
sudo make
sudo make install
挺多的吧,呵呵,不過這樣就把整個erlang編譯好了