[报到][闲聊]configure: error

编译安装或者制作Deb包
回复
greegree
帖子: 70
注册时间: 2006-06-29 10:38
送出感谢: 0
接收感谢: 0

[报到][闲聊]configure: error

#1

帖子 greegree » 2006-07-02 17:13

求助:
下载了一个wxWidgets-2.6.3(多线程图形界面下载工具)
在第一步(./configure)遇到如下问题:

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.
greegree
帖子: 70
注册时间: 2006-06-29 10:38
送出感谢: 0
接收感谢: 0

#2

帖子 greegree » 2006-07-03 9:20

怎么没有人回复呢?

也许你们也遇到了同样的问题。

我的问题是这样解决的:
在软件更形包种选择“libc-gtk-dep”升级安装gtk+就可以了
Mephisto
帖子: 21
注册时间: 2005-12-13 13:36
送出感谢: 0
接收感谢: 0

#3

帖子 Mephisto » 2006-07-13 23:12

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.
都说得很清楚了,如果是gtk2 确定pkg-config的路径配置正确,使configure能找到库和头文件的路径。
如果是gtk1则要把gtk-config的目录放到PATH变量里。
回复

回到 “编译或打包”