samingyu 发表于 2004-3-4 10:38:50

我不能安装RPM文件!

我原来装了一个GAIM,后来用RPM -e GAIM删除后装RPM文件就出现下面的东西,请问是什么原因呢?

# cd /mnt/backup/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>]
#

Bluedata 发表于 2004-3-4 10:43:23

# rpm gaim_with_oicq-0.76cvs-0.i386.rpm
命令错了。

samingyu 发表于 2004-3-4 12:04:49

# 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
#


这又是什么原因呢?

samingyu 发表于 2004-3-4 12:07:03

还有,我装声卡驱动的时候出现下面的情况,又是什么情况呢?

# cd /mnt/backup/1985Linux/Linux/alsa-driver-0/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).
# make
make all-deps
make: Entering directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6'
make: Nothing to be done for `all-deps'.
make: Leaving directory `/mnt/backup/1985Linux/Linux/alsa-driver-0/alsa-driver-0.9.6'

Please, run the configure script as first...

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

Bluedata 发表于 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包。
页: [1]
查看完整版本: 我不能安装RPM文件!