QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 502|回复: 3

gtk的安装问题??

[复制链接]
发表于 2003-10-20 15:46:06 | 显示全部楼层 |阅读模式
系统:rh8.0 工作站  x-windows:gnome

我在公社里下了: 轻轻松松背单词  这个软件.
总共有以下如此之多的RPM:
reciteword-0.8.2-1.i386.rpm   
reciteword-skins-rw-0.8.2-1.noarch.rpm      
reciteword-books-0.8.2-1.noarch.rpm  reciteword-skins-rw_en-0.8.2-1.noarch.rpm
reciteword-dicts-0.8.2-1.noarch.rpm  
WyabdcRealPeopleTTS-1.0-1.noarch.rpm

1. 请教成功安装过此软件的朋友,你是不是也下了这么多的rpm ??

2.安装出错.
    rpm -ivh *.rpm
出现以下错误:
error: Failed dependencies:
        gtk2 >= 2.2 is needed by reciteword-0.8.2-1

说是 gtk2的版本太低了??


3.我在www.gtk.org 下载了一个:
  gtk+-2.2.0.tar.bz2

编译时出错:
[root@lzlr gtk+-2.2.0]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking for native Win32... no
checking whether build environment is sane... yes
checking for strerror in -lcposix... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Requested 'glib-2.0 >= 2.1.4' but version of GLib is 2.0.6

configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >=
1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

好像说是 pkg-config 不能找到它们??(我也不太懂,英语太差了)



各位大侠帮帮我吧
 楼主| 发表于 2003-10-20 15:58:01 | 显示全部楼层
各位版主,大侠们帮我看看,我应该怎么办??
回复

使用道具 举报

 楼主| 发表于 2003-10-20 16:07:48 | 显示全部楼层
试了好多次都不行???大家帮帮我吧
回复

使用道具 举报

 楼主| 发表于 2003-10-20 17:17:27 | 显示全部楼层
各位老大帮帮忙?? 怎么装上那个轻轻松松背单词???
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-18 19:02 , Processed in 0.081437 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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