文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>The gtk-config script installed by GTK could not b

The gtk-config script installed by GTK could not b

时间:2008-06-19  来源:sohu2000000

 
我在装wxGTK时./configure --with-gtk
出现下面错误:
--------------------------------------------------------------------------------
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和gtk2.0的安装选项
locate gtk-config 按不到该文件
-----------------------
怎样看自己有没有装gtk啊,
上面这是怎么回事

------------------------------------------------------------------------------------
顺便问一下大家有没这种经历:像我这样,本来是要学shell的,到网上找了chm文件(关于shell的精华贴),看不了,要装xchm,下了xchm,安装失败,说找不GTK....
想直一首歌:一波还未过去,一波又侵袭
   
fighter_go
查看公开信息
查找 fighter_go 发表的更多帖子
05-01-02, 02:31 第 2 帖
6692975  
 
 
注册会员  
  注册日期: Sep 2004   帖子: 1,434   精华: 5  

rpm -qa |grep gtk 就可以查看当前都安装了gtk的什么东东
缺少gtk-config 没找到这是什么里面的。可以去http://rpm.pbone.net找找装上。
chm的东西不好装,我现在只好用kde的kdevelop解决。:(

__________________
http://mengxin.blogchina.com/
我的blog linux notes,tips,faq.....不断更新中
您好,请多多关照 :thank
   
6692975
查看公开信息
访问 6692975 的个人网站
查找 6692975 发表的更多帖子
05-01-02, 07:44 第 3 帖
bbbush  
 
 
临时退役版主  
  注册日期: Dec 2002   我的住址: 内蒙古乌海=>小百合=>深圳   帖子: 5,298   精华: 16  

fc3 第四张盘,gtk+-devel
   
bbbush
查看公开信息
访问 bbbush 的个人网站
查找 bbbush 发表的更多帖子
05-01-02, 10:51 第 4 帖
fighter_go  
 
 
注册会员  
  注册日期: Nov 2004   帖子: 17   精华: 0  

wxGTK终于装上去了,Xchm也搞定了,谢谢6692975和bbbush.
我把我解决问题的相关资料贴上来,希望对遇到像我同样问题的人能有点用
1.什么是GTK+:
----------------------------------------------------------------------------------------------
GTK+ 来源于 GIMP(GNU Image Manipulation Program).GTK+ 基于 GIMP 开发包。GTK+ 已经从这些开创者里成长起来了,现在用于 Gnome 的主要部分,GNU 工程桌面环境。 GTK+ 已经延伸到 BeOs 和 win32 系统,成为基于 php 扩展的最佳选择,使用 php 的跨平台 特性来开发用于 linux,BeOS ,Windows 的窗口程
-----------------------------------------------------------------------------------------------
2.找不到libchm.so怎么办:---引用xchm Email Archive:
-------------------------------------------------------------------------------------------
Go edit your /etc/ld.so.conf file. Make sure the line
/usr/local/lib
is present in the file (if it isn"t add it manually).
The run ldconfig as root.
Then you should be set. Just run xchm.
---------------------------------------------------------------------------------------------
   
fighter_go
查看公开信息
查找 fighter_go 发表的更多帖子
05-01-02, 10:58 第 5 帖
fighter_go  
 
 
注册会员  
  注册日期: Nov 2004   帖子: 17   精华: 0  

另,看看这个网页对理解上述问题应该会有帮助:
http://www.linuxaid.com.cn/articles/7/0/704696259.shtml
   
fighter_go
查看公开信息
查找 fighter_go 发表的更多帖子
05-07-14, 00:05 第 6 帖
minlau  
 
 
注册会员  
  注册日期: Jul 2003   帖子: 44   精华: 0  

已经安装chmlib和vxgtk
当安装xchm时
我的出现:
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.

请问如何解决啊?
排行榜 更多 +
别惹神枪手安卓版

别惹神枪手安卓版

冒险解谜 下载
坦克战争世界

坦克战争世界

模拟经营 下载
丛林反击战

丛林反击战

飞行射击 下载