如何在 Ubuntu 12.04 Precise Pangolin 上安装 Profanity XMPP 客户端?

如何在 Ubuntu 12.04 Precise Pangolin 上安装 Profanity XMPP 客户端?

某个地方有 PPA 吗?

如果没有,那么从源代码构建的具体说明是什么?

我尝试这样做时出现此错误:

configure: error: libstrophe linked with expat is required for profanity

但是存储库中没有 libstrophe。

答案1

从源代码构建 libstrophe 成功了。在 Ubuntu 12.04 上构建 profanity 的完整命令如下:

# 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
mkdir m4
./bootstrap.sh
./configure
make
sudo make install

相关内容