LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: luoxb

./configure error while i install glade

[复制链接]
发表于 2004-5-6 17:28:40 | 显示全部楼层
晕,它是要你安装gtk+-devel >=1.2.0的版本,是gtk1不是gtk2
一般要是遇到这种问题,就到光盘里dir gtk*devel *
 楼主| 发表于 2004-5-7 12:53:40 | 显示全部楼层

搞定了,总结一下

小弟在此谢过各位好心的朋友,我已经解决了,下面将总结一下这次的处理过程
:1,一开始找不到gtk-config,因为没装gtk-devel,后来发现其他的devel也没有,下了
     gtk2-devel-2.2.1-4.i386.rpm,glib2-devel-2.2.1-1.i386.rpm ,             atk-devel-1.2.0-2.i386.rpm ,pango-devel-1.2.1-3.i386.rpm
2.
  另外就是我的gtk+-没装,或者版本太低,下了个2.2.1的tar包装,glib也装了个2.4.0的,本来这样./configure ,make,make install后就完了,可是还是提示找不到,原来./configure时没加安装路径(-prefix=/路径),不过在linux下不加也行不过你需要运行ldconfig(f you are installing in a system directory, on some systems (such as Linux), you will need to run ldconfig after make install so that the newly installed libraries will be found.)
  大概就是这样,可能有些是多余的,那我就不大清楚了,还有什么不对请各位指教,希望对其他有此类问题的朋友有益
发表于 2006-4-18 17:20:08 | 显示全部楼层
configure: error: Library requirements (libxml-2.0 >= 2.4.1 gtk+-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.
这部分是如何解决的?
回复 支持 反对

使用道具 举报

发表于 2006-4-18 17:20:40 | 显示全部楼层
configure: error: Library requirements (libxml-2.0 >= 2.4.1 gtk+-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.
这部分是如何解决的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-21 17:22:36 | 显示全部楼层
Post by linus
configure: error: Library requirements (libxml-2.0 >= 2.4.1 gtk+-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.
这部分是如何解决的?
linus 兄弟,好久没看邮箱,所以没有及时回复你的贴。我应该是这样做的:./configure时没加安装路径(-prefix=/路径),不过在linux下不加也行不过你需要运行ldconfig(f you are installing in a system directory, on some systems (such as Linux), you will need to run ldconfig after make install so that the newly installed libraries will be found.)
在前文已经提到。你先试试吧。如果还有问题我就没有办法了,很久没用glade了,这个帖子是一年前发的,而且当时怕忘掉就稍微的总结了一下。应该是把我的问题解决过程写清了的,你再仔细看看吧,也许还会点帮助
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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