|
我用的linux发行版是Exerest 0.4 社区版
下载xmule和wGTK-2.4.2
编译wGTK-2.4.2时,出现以下问题:
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... 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.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... 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.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
似乎是没有找到GTK,但我的GTK已装,版本是2.10.0,在/usr/lib/gtk-2.0/2.10.0
编译wGtk2.4.2时,采用如下参数:
configure --with-gtk-prefix=/usr/lib/gtk-2.0
出现以下错误:
checking for GTK+ version...
checking for gtk-config... /usr/lib/gtk-2.0/bin/gtk-config
checking for GTK - version >= 1.2.7... /root/soft/wxGTK-2.4.2/configure: line 12801: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 12802: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 12804: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 12806: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 12808: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/lib/gtk-2.0/bin/gtk-config
checking for gtk-config... (cached) /usr/lib/gtk-2.0/bin/gtk-config
checking for GTK - version >= 1.2.3... /root/soft/wxGTK-2.4.2/configure: line 13071: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 13072: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 13074: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 13076: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
/root/soft/wxGTK-2.4.2/configure: line 13078: /usr/lib/gtk-2.0/bin/gtk-config: No such file or directory
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/lib/gtk-2.0/bin/gtk-config
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
搜索本机,没有找到gtk-config
是什么原因呢?是不是我的GTK没有安装完整?
需要重新安装GTK吗? |
|