QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3839|回复: 4

rpmbuild安装的问题,路过的帮看下!~~

[复制链接]
发表于 2006-11-16 13:19:42 | 显示全部楼层 |阅读模式
[root@ecofe2 IP]# ls
IPModifyForXP.exe          rpm-build-4.3.3-13_nonpt1.i386      rpm-libs-4.3.3-13_nonptl.i386.rpm
kernel-2.6.9-5.EL.src.rpm  rpm-build-4.3.3-13_nonptl.i386.rpm  setup.ini
[root@ecofe2 IP]# rpm -ivh rpm-build-4.3.3-13_nonptl.i386.rpm
warning: rpm-build-4.3.3-13_nonptl.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        rpm = 4.3.3-13_nonptl is needed by rpm-build-4.3.3-13_nonptl.i386
[root@ecofe2 IP]# rpm -ivh rpm-libs-4.3.3-13_nonptl.i386.rpm
warning: rpm-libs-4.3.3-13_nonptl.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
        file /usr/lib/librpm-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
        file /usr/lib/librpmbuild-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
        file /usr/lib/librpmdb-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
        file /usr/lib/librpmio-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
[root@ecofe2 IP]#
发表于 2006-11-16 13:23:16 | 显示全部楼层
rpm -Uvh --force --nodeps
回复

使用道具 举报

 楼主| 发表于 2006-11-16 13:28:48 | 显示全部楼层
[root@ecofe2 IP]# cd /usr/src
[root@ecofe2 src]# ls
2.6.9-34.EL-i686  e1000  kernels  linux-2.6.17.13  linux-2.6.17.13.zip  linux-2.6.9.tar.bz2  redhat
[root@ecofe2 src]# cd redhat
[root@ecofe2 redhat]# ls
BUILD  RPMS  SOURCES  SPECS  SRPMS
[root@ecofe2 redhat]# rpmbuild -ba --target=i686 ./kernel-2.6.spec
Building target platforms: i686
Building for target i686
error: failed to stat /usr/src/redhat/./kernel-2.6.spec: No such file or directory
[root@ecofe2 redhat]#
回复

使用道具 举报

发表于 2007-11-13 22:44:10 | 显示全部楼层
我也想装  rpm-build,找了半天,没找到安装包,后来就yum install rpm-build ,没想到成功了 (yum了两次)
回复

使用道具 举报

发表于 2007-11-13 22:51:09 | 显示全部楼层
直接安装可能因为依赖关系而失败
但是yum安装yum会自动解决依赖关系 缺少的包它会去下载
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 03:19 , Processed in 0.081203 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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