Ubuntu 安装 基于XMPP的Profanity
来源:互联网 发布:什么叫java参数传递 编辑:程序博客网 时间:2024/05/01 22:24
目标:
安装学习开源软件,使用Profanity通过同样基于XMPP的google talk进行聊天。
软件:
参考主页http://www.profanity.im/
ncurses 、libstrophe-0.8.7、Profanity-0.4.5
环境:
Ubuntu 12.04
步骤:
# Install repo dependencies
sudo apt-get -y install git automake autoconf libssl-dev libexpat1-dev libncursesw5-dev libglib2.0-dev libnotify-dev libcurl3-dev libxss-dev libotr2-dev libtool libexpat1-dev
# Install libstrophe
mkdir -p ~/.local/src/libstrophe
cd ~/.local/src/libstrophe
git clone https://github.com/strophe/libstrophe.git .
git checkout 0.8.7
# adapt to new version
mkdir m4
./bootstrap.sh
./configure
make
sudo make install
# install profanity
mkdir -p ~/.local/src/profanity
cd ~/.local/src/profanity
git clone https://github.com/boothj5/profanity.git .
git checkout 0.4.5 # adapt to current version
./bootstrap.sh
./configure
make
问题一:
运行profanity时
profanity: error while loading sharedlibraries: libstrophe.so.0: cannot open shared object file: No such file ordirectory
解决:
运行# ./configureLIBS="-L/usr/local/lib"
# ldconfig
问题二:
安裝libstrophe時,運行
./bootstrap.sh #autoreconf -i
出現錯誤:
aclocal:couldn't open directory `m4': No such file or directory
autoreconf: aclocal failed with exitstatus: 1
解決:
在目录下新建m4的文件夹,#mkdir m4使用:
1、开启google app安全选项。
https://www.google.com/settings/security/lesssecureapps
2、运行连接命令
/connect user@gmail.com
3、发送信息
/msg user@gmail.com Hello!
不过:谷歌升级到环聊后,当前只能发送信息,无法进行信息接收。
- Ubuntu 安装 基于XMPP的Profanity
- 基于XMPP的即时通讯
- Openfire+spark安装基于XMPP协议的服务端开发环境
- 基于 Ubuntu 的 Asterisk 安装
- 基于XMPP的IM研究
- 基于XMPP协议的聊天
- 九:基于xmpp的聊天
- 基于XMPP的即时通信
- 基于xmpp的android即时通讯
- 基于XMPP协议的即时通讯
- 基于 xmpp 的即时聊天
- 基于XMPP协议的WebIM
- 基于XMPP实现的Openfire的配置安装+Android客户端的实现
- 基于XMPP实现的Openfire的配置安装+Android客户端的实现
- 基于XMPP实现的Openfire的配置安装+Android客户端的实现
- 基于XMPP的IOS聊天客户端程序(XMPP服务器架构)
- 基于XMPP的IOS聊天客户端程序(XMPP服务器架构)
- 基于XMPP的IOS聊天客户端程序(XMPP服务器架构)
- leetcode之Linked List Cycle
- 做UIWebView时明白的一些问题
- 用Python开始机器学习(3:数据拟合与广义线性回归)
- 排序算法总结
- 第十二周项目3(4)
- Ubuntu 安装 基于XMPP的Profanity
- 《黑客免杀攻防》 软件逆向工程(4)
- android:windowSoftInputMode属性详解 避免输入法面板遮挡问题
- 第12周项目4 银行系统(1、基本框架)
- centos安装wine--网摘
- 序列游戏1
- stract函数的实现 连接str2到str1的后面
- 并发请求遇到的问题
- 随机数生成器