LinuxSir.cn,穿越时空的Linuxsir!

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

安装xmule的困难

[复制链接]
发表于 2007-1-28 08:45:40 | 显示全部楼层 |阅读模式
我用的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吗?
发表于 2007-1-28 10:43:02 | 显示全部楼层
装amule或者mldonkey
我一直用mldonkey,直接用浏览器管理比较方便,也比较省资源,还没有那么多的依赖。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-29 08:58:56 | 显示全部楼层
谢谢
我试试吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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