当提示:包、开发文件找不到时(包括头文件等),进来这里,附《Ubuntu中编译Pidgin-2.5.8》的案例

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
wadeking
帖子: 59
注册时间: 2009-10-04 16:40
来自: 神舟大地
联系:

当提示:包、开发文件找不到时(包括头文件等),进来这里,附《Ubuntu中编译Pidgin-2.5.8》的案例

#1

帖子 wadeking » 2009-10-19 19:23

一下是一些包和开发文件找不到时所需要下载的文件(包括头文件等)

可以用sudo apt-get install “NAME" 的命令在终端下载安装,下面有个经典案例

代码: 全选

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
Ubuntu中编译Pidgin-2.5.8
[日期:2009-08-20] 来源:www.qidong.li/blog/pinane/ 作者:pinane's personal

在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.

代码: 全选

解决方法: sudo apt-get install libmeanwhile-dev
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
configure: error:
Perl development headers not found.
Use –disable-perl if you do not need Perl scripting support.

解决方法: sudo apt-get install libperl-dev

Tcl development headers not found.: tcl8.4-dev

Tk development headers not found.: tk8.4.dev

解决方法:sudo apt-get install tk8.4-dev tcl8.4-dev[/size]
forum.ubuntu.org.cn给我一种家的感觉,这里有很热心的...
头像
blambin
帖子: 283
注册时间: 2009-09-22 17:00
系统: arch , win10
联系:

Re: 当提示:包、开发文件找不到时(包括头文件等),进来这里,附《Ubuntu中编译Pidgin-2.5.8》的案例

#2

帖子 blambin » 2009-10-20 21:15

我也看见这堆错误啦,头疼死 :em06
目前已經全面轉移 至 洗发水神教
Serval
帖子: 227
注册时间: 2009-10-05 13:12

Re: 当提示:包、开发文件找不到时(包括头文件等),进来这里,附《Ubuntu中编译Pidgin-2.5.8》的案例

#4

帖子 Serval » 2009-11-01 22:09

如果本机没有网络怎么办?
回复