Compiling profanity for raspbian

Install dependencies:

1
sudo apt-get install libncurses5-dev libncursesw5-dev libxml2-dev

Compile and install libstrophe:

1
2
3
4
5
6
7
8
9
mkdir ~/.local
mkdir ~/src
cd ~/src
git clone https://github.com/strophe/libstrophe
cd libstrophe
./bootstrap.sh
./configure --with-libxml2 --prefix=$HOME/.local/
make
make install

Compile and install profanity:

1
2
3
4
5
6
cd ~/src
git clone https://github.com/boothj5/profanity.git
cd profanity
LDFLAGS=-L$HOME/.local/lib CPPFLAGS=-I$HOME/.local/include ./configure --prefix=$HOME/.local
make
make install

Run it:

1
LD_LIBRARY_PATH=$HOME/.local/lib $HOME/.local/bin/profanity