網頁

2015年9月20日 星期日

Pidgin 2.10.9 --- How to install Pidgin-Sipe 1.20.0 through source package on Ubuntu/Lubuntu 14.04

If we want to connect to the company's Lync server using Pidgin, we have to install a SIPE plugin because it can connect to a Lync server next to do text chat.
When the "pidgin" package is installed from the distribution repository,  we will download the latest package as version 1.20.2 from SIPE repository and extract it next to prepare for compiling SIPE from source code.


Due to we want to compile Pidgin-Sipe from source code, we will specify the correct installation path in configure. Usually Pidgin-SIPE is installed in /usr so the following command should work
./configure --prefix=/usr
If we get errors(# 1) then there is missing some required package(# 2), we need to install the necessary libraries until the the configure procedure is successful.

When the configure complete, we will continue to run ‘make’ now.


After successful compilation we can install SIPE with ‘sudo make install’ now


So do that the Pidgin plugin for MS Office Communicator and MS Lync will be installed now.  


Reference:
(# 1)     If we get errors from configure or libtool about version conflicts then we need to regenerate the autoconf files. 
That is need these additional packages
autoconf
automake


Now we should be able to regenerate the files with “autoreconf --verbose --install --force” and go back to the configure step again.


(# 2)     In the README file of the extracted SIPE, we can refer to what is requried pacakge as follow:
===================================================================
Depending on your distribution you'll need to install one of the following packages
libpurple-dev
libpurple-devel


For the compilation you'll need to install a C compiler and some of the following packages
libtool
intltool


pkg-config
libglib2.0-dev
libxml2-dev
libgmime-2.4-dev  (optional)
libgmime-2.6-dev  (optional)


pkgconfig
libglib2-devel
libxml2-devel
gettext-devel
gmime-devel       (optional)


You have to choose between NSS or OpenSSL for the crypto backend. You'll need one of the following packages
for NSS:
libnss3-dev
nss-devel
mozilla-nss-devel


for OpenSSL:
libssl-dev
openssl-devel


If you want to enable Kerberos authentication support then you'll need one of the following packages
libkrb5-dev
krb5-devel


If you additionally want to disable the internal NTLM implementation and authenticate with NTLM via GSSAPI then you'll need one of the following packages
gssntlmssp-devel


If you want to enable Voice & Video features then you'll need some of the following packages
libnice-dev           (>= 0.1.0)
libgstreamer0.10-dev


libnice-devel         (>= 0.1.0)
gstreamer-devel
===================================================================
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.