Monday, July 21, 2014

Pidgin on Centos 7 - quick and dirty way

I would like to install pidgin on my Centos 7 machine. Unfortunatelly there are no native rpm packages available. This post will describe how to install pidgin with Fedora 19 rpms.

TOC

Pidgin installation

Centos 7 is based on RHEL 7 which is based on Fedora 19. Therefore I will use F19 pidgin rpm for installation. I will discover dependencies with installation simulation:

[root@centos-7 ~]$ rpm -i --test pidgin-2.10.9-1.fc19.x86_64.rpm
warning: pidgin-2.10.9-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fb4b18e6: NOKEY
error: Failed dependencies:
        libXss.so.1()(64bit) is needed by pidgin-2.10.9-1.fc19.x86_64
        libgtkspell.so.0()(64bit) is needed by pidgin-2.10.9-1.fc19.x86_64
        libpurple(x86-64) = 2.10.9-1.fc19 is needed by pidgin-2.10.9-1.fc19.x86_64

It is not so bad, so I try yum for installation:

[root@centos-7 ~]$ yum localinstall pidgin-2.10.9-1.fc19.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining pidgin-2.10.9-1.fc19.x86_64.rpm: pidgin-2.10.9-1.fc19.x86_64
Marking pidgin-2.10.9-1.fc19.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package pidgin.x86_64 0:2.10.9-1.fc19 will be installed
--> Processing Dependency: libpurple(x86-64) = 2.10.9-1.fc19 for package: pidgin-2.10.9-1.fc19.x86_64
Loading mirror speeds from cached hostfile
 * base: ftp.cvut.cz
 * extras: centos.ionic.net.pl
 * updates: centos.ionic.net.pl
--> Processing Dependency: libXss.so.1()(64bit) for package: pidgin-2.10.9-1.fc19.x86_64
--> Processing Dependency: libgtkspell.so.0()(64bit) for package: pidgin-2.10.9-1.fc19.x86_64
--> Running transaction check
---> Package gtkspell.x86_64 0:2.0.16-8.el7 will be installed
---> Package libXScrnSaver.x86_64 0:1.2.2-6.1.el7 will be installed
---> Package pidgin.x86_64 0:2.10.9-1.fc19 will be installed
--> Processing Dependency: libpurple(x86-64) = 2.10.9-1.fc19 for package: pidgin-2.10.9-1.fc19.x86_64
--> Finished Dependency Resolution
Error: Package: pidgin-2.10.9-1.fc19.x86_64 (/pidgin-2.10.9-1.fc19.x86_64)
           Requires: libpurple(x86-64) = 2.10.9-1.fc19
           Installed: libpurple-2.10.7-22.el7.x86_64 (@base)
               libpurple(x86-64) = 2.10.7-22.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

There is conflict with libpurple. Pidgin requires F19 libpurple but Centos 7 has different version installed. At least yum identified the dependencies (printed in bold). I will install them:

[root@centos-7 ~]$ yum install gtkspell.x86_64 libXScrnSaver.x86_64

Now there is only one dependecy missing - libpurple.

[root@centos-7 ~]$ rpm -i --test pidgin-2.10.9-1.fc19.x86_64.rpm 
warning: pidgin-2.10.9-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fb4b18e6: NOKEY
error: Failed dependencies:
        libpurple(x86-64) = 2.10.9-1.fc19 is needed by pidgin-2.10.9-1.fc19.x86_64

I will simply ignore it and install pidgin anyway:

[root@centos-7 ~]$ rpm -i --nodeps pidgin-2.10.9-1.fc19.x86_64.rpm 
warning: pidgin-2.10.9-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fb4b18e6: NOKEY
[root@centos-7 ~]$ rpm -qa | grep pidgin
pidgin-2.10.9-1.fc19.x86_64

I will check if pidgin binary is missing something:

[root@centos-7 ~]$ which pidgin
/usr/bin/pidgin
[root@centos-7 ~]$ ldd /usr/bin/pidgin | grep -i "not found"

Everything seems to be OK. I can launch pidgin and it is working.

Sipe plugin installation

Next thing I want to get working is SIPE plugin. I will use F19 pidgin-sipe rpm again:

[root@centos-7 ~]$ rpm -i --test pidgin-sipe-1.18.2-1.fc19.x86_64.rpm 
warning: pidgin-sipe-1.18.2-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fb4b18e6: NOKEY
error: Failed dependencies:
        purple-sipe = 1.18.2-1.fc19 is needed by pidgin-sipe-1.18.2-1.fc19.x86_64

Purple-sipe package can be downloaded from EPEL repo:

[root@centos-7 ~]$ rpm -i purple-sipe-1.18.2-1.el7.x86_64.rpm 
warning: purple-sipe-1.18.2-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY

Unfortunatelly it will not satisfy pidgin-sipe therefore I will again ignore the dependency:

[root@centos-7 ~]$ rpm -i --nodeps pidgin-sipe-1.18.2-1.fc19.x86_64.rpm 
warning: pidgin-sipe-1.18.2-1.fc19.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fb4b18e6: NOKEY

After pidgin restart I can finally setup SIPE account.

2 comments:

  1. don't know if comment posted, did preview and now I don't see comment.

    Is this still working on centos 7 for you? Are you using lync 2013 / office 365 or lync 2010 and/or local lync server?

    I'm trying to connect to lync 2013 with office 365 in cloud; and haven't had success.

    thanks for sharing your effort.

    ReplyDelete
    Replies
    1. I was using lync 2013 when I wrote the article. I've changed job and now I'm not obliged to use MS communicator stuff anymore.

      Delete