QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 542|回复: 4

我不能安装RPM文件!

[复制链接]
发表于 2004-3-4 10:38:50 | 显示全部楼层 |阅读模式
我原来装了一个GAIM,后来用RPM -e GAIM删除后装RPM文件就出现下面的东西,请问是什么原因呢?

[root@samingyu root]# cd /mnt/backup/gaim_with_oicq
[root@samingyu gaim_with_oicq]# rpm gaim_with_oicq-0.76cvs-0.i386.rpm
RPM version 4.2
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--specfile]
        [--whatrequires] [--whatprovides] [-c|--configfiles] [-d|--docfiles]
        [--dump] [-l|--list] [--queryformat=QUERYFORMAT] [-s|--state]
        [--nomd5] [--nofiles] [--nodeps] [--noscript] [--addsign]
        [-K|--checksig] [--import] [--resign] [--nodigest] [--nosignature]
        [--initdb] [--rebuilddb] [--aid] [--allfiles] [--allmatches]
        [--badreloc] [-e|--erase <package>+] [--excludedocs]
        [--excludepath=<path>] [--force] [-F|--freshen <packagefile>+]
        [-h|--hash] [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install]
        [--justdb] [--nodeps] [--nomd5] [--noorder] [--nosuggest]
        [--noscripts] [--notriggers] [--oldpackage] [--percent]
        [--prefix=<dir>] [--relocate=<old>=<new>] [--repackage]
        [--replacefiles] [--replacepkgs] [--test]
        [-U|--upgrade <packagefile>+] [-D|--define 'MACRO EXPR']
        [-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature]
        [--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc]
        [--quiet] [-v|--verbose] [--version] [-?|--help] [--usage]
        [--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes]
        [--provides] [--requires] [--info] [--changelog] [--triggers]
        [--last] [--filesbypkg] [--fileclass] [--filecolor] [--fileprovide]
        [--filerequire] [--redhatprovides] [--redhatrequires]
        [--buildpolicy=<policy>] [--with=<option>] [--without=<option>]
[root@samingyu gaim_with_oicq]#
发表于 2004-3-4 10:43:23 | 显示全部楼层
# rpm gaim_with_oicq-0.76cvs-0.i386.rpm

命令错了。
回复

使用道具 举报

 楼主| 发表于 2004-3-4 12:04:49 | 显示全部楼层
[root@samingyu gaim_with_oicq]# rpm -ivh gaim_with_oicq-0.76cvs-0.i386.rpm
error: Failed dependencies:
        gtkspell is needed by gaim_with_oicq-0.76cvs-0
        libgtkspell.so.0 is needed by gaim_with_oicq-0.76cvs-0
You have new mail in /var/spool/mail/root
[root@samingyu gaim_with_oicq]#


这又是什么原因呢?
回复

使用道具 举报

 楼主| 发表于 2004-3-4 12:07:03 | 显示全部楼层
还有,我装声卡驱动的时候出现下面的情况,又是什么情况呢?

[root@samingyu root]# cd /mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6
[root@samingyu alsa-driver-0.9.6]# ./configure
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 executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8/build
checking for kernel version... The file /lib/modules/2.4.20-8/build/include/linux/version.h does not exist.
Please, install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
[root@samingyu alsa-driver-0.9.6]# make
make all-deps
make[1]: Entering directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6'

Please, run the configure script as first...

[root@samingyu alsa-driver-0.9.6]# make install
rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6/support'
Makefile:9: ../Makefile.conf: 没有那个文件或目录
Makefile:27: /Rules.make: 没有那个文件或目录
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6/support'
make: *** [install-modules] Error 1
回复

使用道具 举报

发表于 2004-3-4 12:07:46 | 显示全部楼层
libgtkspell.so.0 is needed by gaim_with_oicq-0.76cvs-0

www.rpmfind.net
找libgtkspell.so.0的rpm包。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 17:57 , Processed in 0.036249 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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