+ -
当前位置:首页 → 问答吧 → 关于gzip_1.3.13的安装包的下载

关于gzip_1.3.13的安装包的下载

时间:2010-05-19

来源:互联网

我在安装一个软件的时候出错,好像说要在/usr/lib/pkg_config中存在以下.pc文件:

Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package gio-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gio-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gio-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
Package gconf-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gconf-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gconf-2.0' found
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-plugins-base-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-plugins-base-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-plugins-base-0.10' found
Package gnome-vfs-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gnome-vfs-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gnome-vfs-2.0' found
Package libebook-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libebook-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libebook-1.2' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package dbus-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-1' found
Package hal was not found in the pkg-config search path.
Perhaps you should add the directory containing `hal.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hal' found
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangocairo' found
Package librsvg-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `librsvg-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librsvg-2.0' found
Package xxf86vm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xxf86vm.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xxf86vm' found

怎么才能使这个目录下出现.PC文件?

另外,这几个他报错我没有的包其实有几个我是有的,但是是在/usr/lib下的,为什么./configure一直不能找到?我的pkg_config_path路径已经设置过了/usr/lib和其他几个存在可能存在库的路径,为什么还是找不到?帮帮忙各位,谢谢!

作者: bryancby   发布时间: 2010-05-19

装*-dev包

作者: HuntXu   发布时间: 2010-05-19

我也遇到这个问题了。


其实你去locate(搜索)会发现



/usr/lib/pkgconfig/dbus-1.pc
可能这个dbus-1.pc就是它了。

dbus-glib-1.pc是找不到的



后来我做了下面两步,就能在src下生成Makefile文件了。



#apt-get install libdbus-glib-1-dev

export PKG_CONFIG_PATH="/usr/lib"



没有试过将dbus-1.pc直接改成dbus-glib-1.pc.等以后不能make成功。在试试。既然已经生成了Makefile。那应该暂时没问题了。


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/fangcaixia498602700/archive/2011/04/15/6325181.aspx

作者: 498602700   发布时间: 2011-04-15