Wednesday, August 20, 2014

CentOS 7, Pidgin, and OTR

I recently upgraded to CentOS 7 for my desktop (probably a mistake, but that's what I do). I ran into a problem - I couldn't find the OTR plugin. I checked the EPEL repos - and I couldn't find what I needed. I could find the pidgin-otr-debuginfo RPM, but not the straight pidgin-otr plugin. Hrrrm. I need the plugin, so here's how I got it. is a great little resource for finding packages from other distributions, so I ran out there and grabbed the libotr, libotr-devel, and pidgin-devel packages for RedHat EL7. I needed a couple of other packages that are available in the standard CentOS repository to give me the requisites, so fired off the following :
    yum install libpurple-devel.x86_64 libgcrypt-devel.x86_64 gtk2-devel.x86_64
I then installed the pilfered RPM's grabbed through :
    rpm -ivh libotr-4.0.0-4.el7.x86_64.rpm libotr-devel-4.0.0-4.el7.x86_64.rpm pidgin-devel-2.10.9-1.el7.x86_64.rpm
Once I had the basics down, I needed to grab the source code for the plugin. I grabbed this from (the "OTR plugin for Pidgin" download). I extracted it, and ran through the normal compilations :
    tar -xzf pidgin-otr-4.0.0.tar.gz
    cd pidgin-otr-4.0.0/
Then as root :
    make install
However, upon restarting pidgin and checking "Tools" -> "Plugins", I couldn't see the "Off-The-Record" plugin showing up. I reviewed the results of the make install, and found it installed to /usr/local/lib/pidgin/. So, I copied the files in place :
    cp /usr/local/lib/pidgin/pidgin-otr.* /lib64/pidgin/
I restarted pidgin again to get it to pick up the changes, and viola!

No comments:

Post a Comment