红联Linux门户
Linux帮助

求助:FC11编译出错,提示没安装gtk,安装后仍错

发布时间:2009-07-30 13:29:32来源:红联作者:badboycx
我是个新手,自己在Vmware下装了个比较新的Fedora core 11,装是装好了,但是在安装一些常用软件的时候遇到了问题,下载tar.qz包解压后,进入目录,然后./configure 总是停止在检查 gilb 和 gtk ,弄了2天把glib装上了,但gtk又弄了2天还没弄好,昨天晚上在一个群里学习了用yum安装了gtk 但是./configure的时候后面不是说 no 了,但还是编译不了,看下面的英文提示,大概意思能看懂,但有好几个可能,还自己解决估计有要好几天,我快崩溃了,我把错误传上来,希望热心人帮帮我。谢谢。
checking how to hardcode library paths into programs... immediate
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.2...
*** 'gtk-config --version' returned 1.2.2, but GTK+ (1.2.10)
*** was found! If gtk-config was correct, then it is best
*** to remove the old version
of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If gtk-config was wrong, set the environment variable GTK_CONFIG
*** to point to the correct copy of gtk-config, and remove the file config.cache
*** before re-running configure
no
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
[root@localhost xmms-1.2.11]#
文章评论

共有 3 条评论

  1. tomorrow207 于 2009-12-02 10:19:13发表:

    多谢楼主共享啊,楼主辛苦了

  2. alick 于 2009-07-31 19:14:33发表:

    为什么不用软件源里的rpm包?

  3. wangfeng819 于 2009-07-31 19:10:00发表:

    估计GTK+ 的版本太低,重新安装一下吧