前两天,本打算在Ubuntu上面安装一个Pidgin2.6.4版本的,当时不成功,原因是我的这个版本上面的许多lib文件不存在。今天终于有时间来整理这个玩意儿,功夫不负有心人,折磨了一个多小时,终于安装成功了。
Pidgin在http://pidgin.im/download/source/ 下载,现在最新版本2.6.5。
Linux下一般程序安装,按照tar解压,然后./configure –prefix=安装路径 ,然后make 最后,sudo make install,就可以的,但是Pidgin2.6.*版本需要很多的lib文件,在./configure系统检查的时候,由于缺失这些文件,不能通过检查而产生makefile文件,安装也就无法继续。当然可以选忽略安装声音和图象这两个功能而成功安装,但是当然应该把功能都较完整的使用上,才是所想的。这里就给出在安装过程中缺失的文件,以及安装下载这些缺失文件的命令,以及网址出处
首先:http://www.oklinux.cn/html/Basic/jyjq/20090820/73041.html
首先出现了
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:
Meanwhile development headers not found.
Use –disable-meanwhile if you do not need meanwhile (Sametime) support.
解决方法:pinane@Ubuntu :~/file/pidgin-2.5.8$ sudo apt-get install libmeanwhile-dev
configure: error:
avahi development headers not found.
Use –disable-avahi if you do not need avahi (Bonjour) support.
解决方法:pinane@Ubuntu :~/file/pidgin-2.5.8$ sudo apt-get install libavahi-client-dev libavahi-glib-dev
configure: error:
Perl development headers not found.
Use –disable-perl if you do not need Perl scripting support.
解决方法:pinane@Ubuntu :~/file/pidgin-2.5.8$ sudo apt-get install libperl-dev
Tcl development headers not found.: tcl8.4-dev
Tk development headers not found.: tk8.4.dev
解决方法:pinane@Ubuntu :~/file/pidgin-2.5.8$ sudo apt-get install tk8.4-dev tcl8.4-dev
到此为止我的编译终于通过了附错误大全表
XScreenSaver extension development headers not found.: libxss-dev
Startup notification development headers not found.: libstartup-notification0-dev
GStreamer development headers not found.: libgstreamer0.10-dev
Meanwhile development headers not found.: libmeanwhile-dev
D-Bus development headers not found.: libdbus-1-dev libdbus-glib-1-dev
NetworkManager development headers not found.: network-manager-dev
Perl development headers not found.: libperl-dev
Tcl development headers not found.: tcl8.4-dev
Tk development headers not found.: tk8.4-dev
GtkSpell development headers not found.:libgtkspell-dev
avahi development headers not found.:libavahi-client-dev libavahi-glib-dev
再次:http://owlsky.me/?tag=fedora
- ./configure 出现 checking for g++… no
yum install gcc-c++
- configure: error:
wxWidgets must be installed on your system
but wx-config script couldn’t be found.Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
‘wx-config –libs’ command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.8.9 or above.
yum install wxGTK-devel
- make: g++ :命令未找到 (Fedora),同#1:
yum install gcc-c++
- 安装Dropbox出现依赖关系缺失:
缺少:libnautilus-extension-dev:
yum install nautilus-devel
No package ‘libnotify’ found:
yum install libnotify-devel
configure: error: couldn’t find docutils:
yum install python-docutils
- error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)
#yum install gnome-python-devel
- No package ‘gconf-sharp-2.0′ found
#yum install gnome-sharp-devel
-
以下都为編译安装最新版的pidgin source出现的问题:checking for GLIB... nonoconfigure: 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
-
checking for X... nochecking for GTK... nonoconfigure: error:
You must have GTK+ 2.4.0 or newer development headers installed to compilePidgin. If you want to build only Finch then specify --disable-gtkui whenrunning configure.sudo apt-get install libgtkmm-2.4-dev
-
checking for XScreenSaverRegister in -lXext... nochecking for XScreenSaverRegister in -lXss... noconfigure: 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
-
checking for STARTUP_NOTIFICATION... nonoconfigure: 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
-
checking for GTKSPELL... nonoconfigure: error:GtkSpell development headers not found.Use --disable-gtkspell if you do not need it.
sudo apt-get install libgtkspell-dev
-
checking for LIBXML... nonoconfigure: error:You must have libxml2 >= 2.6.0 development headers installed to build.
sudo apt-get install libxml++2.6-dev
-
checking for GSTREAMER... nonoconfigure: error:GStreamer development headers not found.Use --disable-gstreamer if you do not need GStreamer (sound) support.
sudo apt-get install libgstreamer0.10-dev
-
checking for GSTINTERFACES... nochecking for FARSIGHT... nochecking for IDN... nonoconfigure: error:GNU Libidn development headers not found.Use --disable-idn if you do not need it.
sudo apt-get install libidn11-dev
-
checking for MEANWHILE... noconfigure: error:Meanwhile development headers not found.Use --disable-meanwhile if you do not need meanwhile (Sametime) support.
sudo apt-get install libmeanwhile-dev
-
checking for AVAHI... nochecking avahi-client/client.h usability... nochecking avahi-client/client.h presence... nochecking for avahi-client/client.h... nochecking avahi-glib/glib-malloc.h usability... nochecking avahi-glib/glib-malloc.h presence... nochecking for avahi-glib/glib-malloc.h... nochecking for avahi_client_new in -lavahi-client... noconfigure: 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
-
checking for DBUS... noconfigure: 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
-
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
-
configure: error:Perl development headers not found.Use --disable-perl if you do not need Perl scripting support.
sudo apt-get install libperl-dev
-
checking for Perl_eval_pv... nochecking for old perl... nochecking for DynaLoader.a... nochecking for GnuTLS includes... ""checking gnutls/gnutls.h usability... nochecking gnutls/gnutls.h presence... nochecking for gnutls/gnutls.h... nochecking for GnuTLS libraries... nochecking for Mozilla nspr4 includes in ... ""checking nspr.h usability... nochecking nspr.h presence... nochecking for nspr.h... nochecking prio.h usability... nochecking prio.h presence... nochecking for prio.h... nochecking for Mozilla nspr4 libraries... nochecking for Mozilla nss3 includes... nochecking for Mozilla nss libraries... noconfigure: 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
-
checking for Perl_eval_pv... nochecking for old perl... nochecking for DynaLoader.a... nochecking for GnuTLS includes... ""checking gnutls/gnutls.h usability... yeschecking gnutls/gnutls.h presence... yeschecking for gnutls/gnutls.h... yeschecking for GnuTLS libraries... yeschecking for gnutls_priority_set_direct... yeschecking for Mozilla nspr4 includes in ... ""checking nspr.h usability... nochecking nspr.h presence... nochecking for nspr.h... nochecking prio.h usability... nochecking prio.h presence... nochecking for prio.h... nochecking for Mozilla nspr4 libraries... nochecking for Mozilla nss3 includes... nochecking for Mozilla nss libraries... nochecking for tclConfig.sh... noconfigure: error:Tcl development headers not found.Use --disable-tcl if you do not need Tcl scripting support.
sudo apt-get install tcl8.5-dev
-
checking for tkConfig.sh... noconfigure: error:Tk development headers not found.Use --disable-tk if you do not need Tk scripting support.
sudo apt-get install tk-dev
最后:http://ubuntuforums.org/archive/index.php/t-1221824.html
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
上面的这些内容基本上是我在安装过程中遇到的问题,可能有个别的问题没有记下来,再查查资料就可以了。