编译安装Pidgin 2.7.11 并安装QQ Fetion插件

编译安装Pidgin 2.7.11 并安装QQ Fetion插件

一、编译安装Pidgin
1、下载 Pidgin 的源代码包 pidgin-2.7.11.tar.bz2

2、解压源代码包

tar jxvf pidgin-2.7.11.tar.bz2
cd pidgin-2.1.1

3、编译

./configure
make
sudo make install

检查依赖出错:

configure: error:
The intltool scripts were not found. Please install intltool.

解决
sudo apt-get install intltool
configure: error:
You must have the GLib 2.0 development headers installed to build.

If you have these installed already you may need to install pkg-config so
I can find them.

解决
sudo apt-get install libglib2.0-dev pkg-config
configure: error:
You must have the GTK 2.0 development headers installed to compile Pidgin.
If you want to build only Finch then specify –disable-gtkui when running configure.

解决
sudo apt-get install libgtk2.0-dev
configure: error:
XScreenSaver extension development headers not found.
Use –disable-screensaver if you do not need XScreenSaver extension support,
this is required for detecting idle time by mouse and keyboard usage.

解决
sudo apt-get install libxss-dev
configure: error:
Startup notification development headers not found.
Use –disable-startup-notification if you do not need it.

解决
sudo apt-get install libstartup-notification0-dev
configure: error:
GtkSpell development headers not found.
Use –disable-gtkspell if you do not need it.

解决
sudo apt-get install libgtkspell-dev
configure: error:
You must have libxml2 >= 2.6.0 development headers installed to build.

解决
sudo apt-get install libxml2-dev
configure: error:
GStreamer development headers not found.
Use –disable-gstreamer if you do not need GStreamer (sound) support.

解决
sudo apt-get install libgstreamer0.10-dev
configure: error:
Dependencies for voice/video were not met.
Install the necessary gstreamer and farsight packages first.
Or use --disable-vv if you do not need voice/video support.

解决
sudo apt-get install libfarsight0.1-dev
sudo apt-get install libgstfarsight0.10-dev
sudo apt-get install libgstreamer-plugins-base0.10-dev
configure: error:
GNU Libidn development headers not found.
Use --disable-idn if you do not need it.
解决
sudo apt-get install libidn11-dev
configure: error:
Meanwhile development headers not found.

Use --disable-meanwhile if you do not need meanwhile (Sametime) support
解 决
sudo apt-get install libmeanwhile-dev
configure: error:
avahi development headers not found.
Use --disable-avahi if you do not need avahi (Bonjour) support.
解决
apt-get install libavahi-client-dev libavahi-glib-dev
configure: error:
D-Bus development headers not found.
Use --disable-dbus if you do not need D-Bus support.
解决
sudo apt-get install libdbus-1-dev libdbus-glib-1-dev
configure: error:
NetworkManager development headers not found.
Use --disable-nm if you do not need NetworkManager support.
解决
sudo apt-get install network-manager-dev
configure: error:
Perl development headers not found.
Use --disable-perl if you do not need Perl scripting support.
解决
sudo apt-get install libperl-dev
configure: error:
Neither GnuTLS or NSS SSL development headers found.
Use --disable-nss --disable-gnutls if you do not need SSL support.
MSN, Yahoo!, Novell Groupwise and Google Talk will not work without GnuTLS or NSS. OpenSSL is NOT usable!
解决
sudo apt-get install libgnutls-dev
configure: error:
Tcl development headers not found.
Use --disable-tcl if you do not need Tcl scripting support.
解决
sudo apt-get install tcl8.4-dev
configure: error:
Tk development headers not found.
Use --disable-tk if you do not need Tk scripting support.
解决
sudo apt-get install tk8.4-dev

安装好上述依赖之后编译成功

二、安装QQ插件

删除自带的QQ插件(自带的是2005和2008协议的)

sodu rm /usr/lib/purple-2/libqq.so

重新安装2010协议的插件

svn checkout http://libqq-pidgin.googlecode.com/svn/trunk/ libqq-pidgin-read-only
cd libqq-pidgin-read-only
chmod +x autogen.sh
./autogen.sh
./configure CFLAGS="-g3 -O0"
make
sudo make install

不想编译的可直接下载so文件拷贝到/usr/lib/purple-2/目录即可

三、安装Fetion插件

sudo apt-get install cmake

hg clone https://ofetion.googlecode.com/hg/ ofetion
cd ofetion/pidgin-ofetion
mkdir build
cd build
cmake ..
sudo make install

如果提示openssl没找到,可安装 libssl-dev

sudo apt-get install libssl-dev 

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*

code

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据