编译安装pidgin以及一些错误解决

说起Pidgin以前在用windows时就用过,并且拿它和digsby做过对比.现在用回了ubuntu,可惜现在ubuntu9.10自带的empathy实在不怎么样,所以萌生了编译pidgin的想法.至于deb安装谁都会,编译安装的好处我也写不出来,无非感觉应该是更适合自己的机器,更好控制吧,版本更新一点~

编译安装pidgin中会遇到很多问题,因为pidgin的依赖非常非常的多,而且有的依赖还是ubuntu源里没有的,基本上我编译安装成功,只是要禁用它的vv功能,好像是视频和音频吧.如果你非想完美的安装好每个功能,可以参考一下这个 via ubuntuclub

一切顺利的步骤.

./configure
make
sudo make install

但是./configure一定会出现很多问题,note一下.

1.checking for GLIB… no
no
configure: error:
You must have GLib 2.4.0 or newer development headers installed to build.

aptitude search glib

p libglib2.0-dev – Development files for the GLib library 这个就是对应的包:

sudo apt-get install libglib2.0-dev

2.checking for X… no
checking for GTK… no
no
configure: error:
You must have GTK+ 2.4.0 or newer development headers installed to compile
Pidgin. If you want to build only Finch then specify –disable-gtkui when
running configure.

sudo apt-get install libgtkmm-2.4-dev

3.checking for XScreenSaverRegister in -lXext… no
checking for XScreenSaverRegister in -lXss… no
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

4checking for STARTUP_NOTIFICATION… no
no
configure: error:
Startup notification development headers not found.
Use –disable-startup-notification if you do not need it.

sudo apt-get install libstartup-notification0 libstartup-notification0-dev

5.checking for GTKSPELL… no
no
configure: error:
GtkSpell development headers not found.
Use –disable-gtkspell if you do not need it.

sudo apt-get install libgtkspell-dev

6.checking for LIBXML… no
no
configure: error:
You must have libxml2 >= 2.6.0 development headers installed to build.

sudo apt-get install libxml++2.6-dev

7.checking for GSTREAMER… no
no
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

8.checking for GSTINTERFACES… no
checking for FARSIGHT… no
checking for IDN… no
no
configure: error:
GNU Libidn development headers not found.
Use –disable-idn if you do not need it.

sudo apt-get install libidn11-dev

9.checking for MEANWHILE… no
configure: error:
Meanwhile development headers not found.
Use –disable-meanwhile if you do not need meanwhile (Sametime) support.

sudo apt-get install libmeanwhile-dev

10.checking for AVAHI… no
checking avahi-client/client.h usability… no
checking avahi-client/client.h presence… no
checking for avahi-client/client.h… no
checking avahi-glib/glib-malloc.h usability… no
checking avahi-glib/glib-malloc.h presence… no
checking for avahi-glib/glib-malloc.h… no
checking for avahi_client_new in -lavahi-client… no
configure: error:
avahi development headers not found.
Use –disable-avahi if you do not need avahi (Bonjour) support.

sudo apt-get install libavahi-client-dev libavahi-glib-dev

11.checking for DBUS… no
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

12.checking for NETWORKMANAGER… no
configure: error:
NetworkManager development headers not found.
Use –disable-nm if you do not need NetworkManager support.

sudo apt-get install network-manager-dev

13.configure: error:
Perl development headers not found.
Use –disable-perl if you do not need Perl scripting support.

sudo apt-get install libperl-dev

14.checking for Perl_eval_pv… no
checking for old perl… no
checking for DynaLoader.a… no
checking for GnuTLS includes… “”
checking gnutls/gnutls.h usability… no
checking gnutls/gnutls.h presence… no
checking for gnutls/gnutls.h… no
checking for GnuTLS libraries… no
checking for Mozilla nspr4 includes in … “”
checking nspr.h usability… no
checking nspr.h presence… no
checking for nspr.h… no
checking prio.h usability… no
checking prio.h presence… no
checking for prio.h… no
checking for Mozilla nspr4 libraries… no
checking for Mozilla nss3 includes… no
checking for Mozilla nss libraries… no
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 u

sudo apt-get install libgnutls-dev

15.checking for Perl_eval_pv… no
checking for old perl… no
checking for DynaLoader.a… no
checking for GnuTLS includes… “”
checking gnutls/gnutls.h usability… yes
checking gnutls/gnutls.h presence… yes
checking for gnutls/gnutls.h… yes
checking for GnuTLS libraries… yes
checking for gnutls_priority_set_direct… yes
checking for Mozilla nspr4 includes in … “”
checking nspr.h usability… no
checking nspr.h presence… no
checking for nspr.h… no
checking prio.h usability… no
checking prio.h presence… no
checking for prio.h… no
checking for Mozilla nspr4 libraries… no
checking for Mozilla nss3 includes… no
checking for Mozilla nss libraries… no
checking for tclConfig.sh… no
configure: error:
Tcl development headers not found.
Use –disable-tcl if you do not need Tcl scripting support.

sudo apt-get install tcl8.5-dev

16.checking for tkConfig.sh… no
configure: error:
Tk development headers not found.
Use –disable-tk if you do not need Tk scripting support.

sudo apt-get install tk-dev

ps..最近弄了个wiki,感觉还不如blog好用阿。。。。


More Articles about 

,,,,

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>