LinuxSir.cn,穿越时空的Linuxsir!

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

怎么编译安装 wxWidgets-2.6.2 呀?

[复制链接]
发表于 2005-12-6 18:38:14 | 显示全部楼层 |阅读模式
Ubuntu5.10
我下载了 wxWidgets-2.6.2.tar.gz
./configure
报错:
checking for GTK+ - version >= 2.0.0... 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+ is incorrectly installed.
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

我怎么指定我的gtk路径呀。
Ubuntu下怎么没找到pkg-config
发表于 2005-12-6 22:56:19 | 显示全部楼层
升级gtk2.0到以上
回复 支持 反对

使用道具 举报

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

本版积分规则

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