免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 1587 | 回复: 11
打印 上一主题 下一主题

./configure error while i install glade [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-04 18:27 |只看该作者 |倒序浏览
checking for GTK - version >;= 1.2.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 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/bin/gtk-config
configure: error: Cannot find GTK: Is gtk-config in path?

gtk-config  --version为1.2.10
具体的config.log为:
patible install
configure:647: checking whether build environment is sane
configure:704: checking whether make sets ${MAKE}
configure:750: checking for working aclocal
configure:763: checking for working autoconf
configure:776: checking for working automake
configure:789: checking for working autoheader
configure:802: checking for working makeinfo
configure:816: checking whether to enable maintainer-specific portions of Makefiles
configure:869: checking for perl
configure:1007: checking host system type
configure:1028: checking build system type
configure:1048: checking for ranlib
configure:1078: checking for gcc
configure:1191: checking whether the C compiler (gcc ) works
configure:1207: gcc -o conftest conftest.c 1>;&5
configure:1233: checking whether the C compiler (gcc ) is a cross-compiler
configure:1238: checking whether we are using GNU C
我的ld.so.conf为:
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib
/usr/lib/wine

论坛徽章:
0
2 [报告]
发表于 2004-05-04 20:53 |只看该作者

./configure error while i install glade

安装gtk

论坛徽章:
0
3 [报告]
发表于 2004-05-05 13:20 |只看该作者

./configure error while i install glade

[root@localhost download]# rpm -ivh gtk2-2.2.1-4.i386.rpm
Preparing...                ########################################### [100%]
        package gtk2-2.2.1-4 is already installed
已经安装了啊,那是怎么回事啊,版主大哥

论坛徽章:
0
4 [报告]
发表于 2004-05-05 13:24 |只看该作者

./configure error while i install glade

原帖由 "luoxb" 发表:
checking for GTK - version >;= 1.2.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..........


你的Glade版本太老了吧?

论坛徽章:
0
5 [报告]
发表于 2004-05-05 13:34 |只看该作者

./configure error while i install glade

glade-0.6.1.tar.gz
但是我在安装其他软件时也会发生错误,像gaim-cvs-0218-qq.0.2.5,而且我已经装了glib2

checking for GLIB - version >;= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
[root@localhost download]# rpm -ivh glib2-2.2.1-1.i386.rpm
Preparing...                ########################################### [100%]
        package glib2-2.2.1-1 is already installed

论坛徽章:
0
6 [报告]
发表于 2004-05-05 13:51 |只看该作者

./configure error while i install glade

http://glade.gnome.org/download.html
你的tooooooold了```

论坛徽章:
0
7 [报告]
发表于 2004-05-05 19:17 |只看该作者

./configure error while i install glade

下了个新的glade-2.0.1  ,还是有问题
checking for libxml-2.0 >;= 2.4.1 gtk+-2.0 >;= 2.0.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

论坛徽章:
0
8 [报告]
发表于 2004-05-05 20:21 |只看该作者

./configure error while i install glade

很可能你的glib没装,或者没有装全,我记得还应该有个devel什么的,应该装上
升级gtk,你可以参考下面的方法
就是./configure --prefix=/usr
然后make;make install,覆盖着装一遍
升级顺序:
glib2
atk
pango
gtk2
fontconfig2 <--注意这个装firefly大侠修改过的

论坛徽章:
0
9 [报告]
发表于 2004-05-06 12:07 |只看该作者

./configure error while i install glade

glib-2.4.0.tar,atk-1.6.0.tar, gtk+-2.4.0.tar.gz
pango-1.4.0.tar.gz
我去下了4个包,不过在装完glib2后,atk就装不了了
出错信息
checking for GLIB - version >;= 2.0.0... no
*** Could not run GLIB 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 GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
没辄了,我想用
[root@localhost download]# rpm -ivh gtk2-devel-2.2.1-4.i386.rpm
error: Failed dependencies:
        XFree86-devel is needed by gtk2-devel-2.2.1-4
        atk-devel >;= 1.0.0-1 is needed by gtk2-devel-2.2.1-4
        glib2-devel >;= 2.2.0-1 is needed by gtk2-devel-2.2.1-4
        pango-devel >;= 1.2.0-3 is needed by gtk2-devel-2.2.1-4
还是不行,各位帮我啊

论坛徽章:
0
10 [报告]
发表于 2004-05-06 17:07 |只看该作者

./configure error while i install glade

是否gtk+-包要装到usr/bin下才行???

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

configure: error: Library requirements (libxml-2.0 >;= 2.4.1 gtk+-2.0 >;= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
我这样试了一下./configure --prefix==/download配置glade,
因为我下的gtk+-包已经./configure make make install 在/download下,无异样,不过还是不行

瞧这就是我的gtk+-2.0.pc

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
target=x11

gtk_binary_version=2.2.0
gtk_host=i686-pc-linux-gnu

Name: GTK+
Description: GIMP Tool Kit (${target} target)
Version: 2.2.1
Requires: gdk-${target}-2.0 atk
Libs: -L${libdir} -lgtk-${target}-2.0
Cflags: -I${includedir}/gtk-2.0
~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP