LinuxSir.cn,穿越时空的Linuxsir!

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

make gconfig 求助

[复制链接]
发表于 2007-3-23 11:25:19 | 显示全部楼层 |阅读模式
我想重新编译一下内核(v2.6.18,suse),用gconfig选项时,出现如下提示

sudo make gconfig
*
* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_gtkcheck', needed by `scripts/kconfig/gconf.o'.  Stop.
make: *** [gconfig] Error 2

我查找了一下makefile,应该是这么一条件
$(obj)/.tmp_gtkcheck:
        @if `pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0`; then                \
                if `pkg-config --atleast-version=2.0.0 gtk+-2.0`; then                        \
                        touch $@;                                                                \
                else                                                                        \
                        echo "*";                                                         \
                        echo "* GTK+ is present but version >= 2.0.0 is required.";        \
                        echo "*";                                                        \
                        false;                                                                \
                fi                                                                        \
        else                                                                                \
                echo "*";                                                                 \
                echo "* Unable to find the GTK+ installation. Please make sure that";         \
                echo "* the GTK+ 2.0 development package is correctly installed...";         \
                echo "* You need gtk+-2.0, glib-2.0 and libglade-2.0.";                 \
                echo "*";                                                                 \
                false;                                                                        \
        fi
endif

我安装了gtk+了,直接在shell下执行pkg-config --exists gtk+-2.0 gmodule-2.0 libglade-2.0返回值是0,应该是对的,怎么会到else里面去了呢,望指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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