标签:
1.系统:Ubuntu14.04_x64
1. yaml-0.1.5:链接: http://pan.baidu.com/s/1sj8zGg1 密码: c8ah
2. expat-2.1.0:链接: http://pan.baidu.com/s/1qWE7zmk 密码: 484h
3. libiconv-1.14:链接: http://pan.baidu.com/s/1i3zmBdz 密码: jie2
4.otp_src_17.5:链接: http://pan.baidu.com/s/1nt1Mr5B 密码: jpg8
5. ejabberd-15.04:链接: http://pan.baidu.com/s/1mgkTvj6 密码: x32p
1. 安装必要的依赖
执行:sudo apt-get install libncurses5-dev m4 fop freeglut3-dev libwxgtk2.8-dev g++ libssl-dev xsltproc build-essential tk8.5 unixodbc unixodbc-dev libxml2-utils zlib1g-dev
2.安装libexpat
解压缩后执行:./configure ; make ; sudo make install
3. 安装libiconv
执行:./configure --prefix=/ ; make; sudo make install
4. 安装libyalm
执行:./configure --prefix=/ ; make; sudo make install
5. 安装erlang
a. 执行:./configure --prefix=/opt/erlang
b. 执行:make; sudo make install
c. 执行:vi /etc/profile,添加环境变量export PATH=/opt/erlang/bin:$PATH
d. source /etc/profile
e. 执行:erl,检验是否安装成功
6. 安装ejabberd
a. 执行./configure --enable-zlib --enable-iconv --enable-debug --enable-nif --enable-user=`whoami`
b. 执行make; sudo make install
c.执行ejabberdctl live,检验是否安装成功
Ubuntu14.04 源码编译安装ejabberd15.04
标签:
原文地址:http://my.oschina.net/u/2319290/blog/422515