LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 967|回复: 7

谁能给我讲讲PKG_CONFIG_PATH是什么,什么设置,在哪里设置呀 THX

[复制链接]
发表于 2004-8-19 18:23:54 | 显示全部楼层 |阅读模式
谁能给我讲讲PKG_CONFIG_PATH是什么,什么设置,在哪里设置呀  THX


这个是不是就是PKG_CONFIG_PATH的问题,我用的是FC2

checking for glib-2.0 >= 2.0.0... 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

configure: error: Library requirements (glib-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
 楼主| 发表于 2004-8-19 20:16:09 | 显示全部楼层
PKG_CONFIG_PATH
怎么设置呀,好急呀

发表于 2004-8-19 20:34:57 | 显示全部楼层
你去找glib2.0,找到后在终端上打入
export PKG_CONFIG_PATH="glib2的路径"
 楼主| 发表于 2004-8-19 22:00:01 | 显示全部楼层
我找了个glib安上了,没加参数也通过了,但后面有其它的包也是同样的错误,但我的包已经是最新的了,怎么才能让pkgconfig找到
 楼主| 发表于 2004-8-19 22:01:18 | 显示全部楼层
sorry我看错了,谢谢,我去试试
 楼主| 发表于 2004-8-19 22:36:32 | 显示全部楼层
要是这个gnome-python-2.0该怎么办呀
 楼主| 发表于 2004-8-19 22:38:33 | 显示全部楼层
root@localhost root]# rpm -qa | grep gnome-python
gnome-python2-bonobo-2.0.0-4.1
gnome-python2-gtkhtml2-2.0.0-4.1
gnome-python2-gnomeprint-2.0.0-4.1
gnome-python2-nautilus-2.0.0-4.1
gnome-python2-canvas-2.0.0-4.1
gnome-python2-gnomevfs-2.0.0-4.1
gnome-python2-applet-2.0.0-4.1
gnome-python2-2.0.0-4.1
gnome-python2-gconf-2.0.0-4.1
[root@localhost root]#

这怎么办呀,在哪里才能找到
发表于 2004-8-19 23:51:41 | 显示全部楼层
没看懂是什么意思......
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表