歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu中編譯Pidgin-2.5.8

Ubuntu中編譯Pidgin-2.5.8

日期:2017/2/28 16:43:47   编辑:Linux教程

在Ubuntu中下好了pidgin-2.5.8.tar.bz2

開始./configure –prefix=/usr/lib/pidgin-2.5.8

萬惡的依賴關系終於出現了,好比社會中的裙帶關系般,錯綜復雜!!!

首先出現了

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

Copyright © Linux教程網 All Rights Reserved