LinuxSir.cn,穿越时空的Linuxsir!

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

编译wxGTK时遇到的问题:找不到gtk+-.2.0.pc

[复制链接]
发表于 2008-10-21 22:33:39 | 显示全部楼层 |阅读模式
下载了Multiget的源码
官方说 http://multiget.sourceforge.net/en_docs.html 需要wxGTK 于是照他们的方法下载了wxGTK ,然后输入命令“../configure --enable-shared --enable-monolithic --with-gtk=2 --with-libpng=builtin --with-zlib=builtin --with-expat=builtin --with-libtiff=builtin --with-regex=builtin --with-libjpeg=builtin --enable-unicode”,在最后提示有错误,

checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
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.


我是Linux新手,熟悉的人指点一下,该怎么办。
我用的是Mandriva pwp 2009.0,软件添加删除里看到已经安装了gtk的最新版。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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