LinuxSir.cn,穿越时空的Linuxsir!

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

编译Mozilla 1.7.13失败

[复制链接]
发表于 2006-8-18 16:32:58 | 显示全部楼层 |阅读模式
操作系统SLES10. Mozilla 1.7.13. 请问如何解决,谢谢各位!

./configure报错:

QUOTE:
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found.
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
检查gtk:

QUOTE:
rpm -qa | grep gtk

gtk2-2.8.10-39.12
gtk2-engines-2.6.7-17.2
gtk2-engines-32bit-2.6.7-17.2
gtk-32bit-1.2.10-907.2
gtk-sharp2-2.8.2-15.3
gtk2-themes-0.1-653.2
gtk-sharp2-32bit-2.8.2-15.3
gtk-1.2.10-907.2
gtk-engines-0.12-982.2
gtksourceview-1.5.6-18.2
gtk2-32bit-2.8.10-39.12
gtkhtml2-3.10.0-15.2
gtkspell-2.0.11-20.2
python-gtk-2.8.2-21.2
然后./configure --enable-default-toolkit=gtk2:
还是报错:

QUOTE:
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 1.3.7... 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
configure: error: Library requirements (gtk+-2.0 >= 1.3.7) 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-8-18 22:35:59 | 显示全部楼层
请安装gtk2-devel
回复 支持 反对

使用道具 举报

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

本版积分规则

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