LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: sis5595

*.src.rpm如何用?

[复制链接]
发表于 2003-2-26 20:49:01 | 显示全部楼层

哪位兄弟知道如何解开.src.rpm的文件?

想研究一下源代码和补丁
发表于 2003-2-27 09:05:46 | 显示全部楼层
发表于 2003-3-1 19:48:28 | 显示全部楼层
发表于 2003-8-31 22:38:18 | 显示全部楼层

回复: 哪位兄弟知道如何解开.src.rpm的文件?

最初由 witkey 发表
想研究一下源代码和补丁


#rpmbuild --rebuild *.src.rpm
#cd /usr/src/redhat(or other)/SOURCES/*

怎么修改后在安装呢?
发表于 2003-9-5 15:22:39 | 显示全部楼层

我用怎么会出现这个情况呢?

[root@localhost Documents]# rpmbuild --rebuild gaim-0.64-1.src.rpm
Installing gaim-0.64-1.src.rpm
error: failed build dependencies:
        libao-devel is needed by gaim-0.64-1
        gtk2-devel is needed by gaim-0.64-1
        gtkspell-devel is needed by gaim-0.64-1
        audiofile-devel is needed by gaim-0.64-1
[root@localhost Documents]#

我用怎么会出现这个情况呢?是哪些开发工具没有安装吗?
发表于 2003-11-11 09:44:12 | 显示全部楼层
libao-devel is needed by gaim-0.64-1
gtk2-devel is needed by gaim-0.64-1
gtkspell-devel is needed by gaim-0.64-1
audiofile-devel is needed by gaim-0.64-1
将以上的安装包安装上即可
发表于 2004-5-7 22:54:59 | 显示全部楼层

回复: 我用怎么会出现这个情况呢?

最初由 mohanmode 发表
[root@localhost Documents]# rpmbuild --rebuild gaim-0.64-1.src.rpm
Installing gaim-0.64-1.src.rpm
error: failed build dependencies:
        libao-devel is needed by gaim-0.64-1
        gtk2-devel is needed by gaim-0.64-1
        gtkspell-devel is needed by gaim-0.64-1
        audiofile-devel is needed by gaim-0.64-1
[root@localhost Documents]#

我用怎么会出现这个情况呢?是哪些开发工具没有安装吗?

我的也是。。兄弟,弄好了告诉我怎么回事呀。。
我是REDFLAG4.0的。。
发表于 2004-10-20 17:12:59 | 显示全部楼层
默认安装没有rpmbuild,怎办
发表于 2004-12-28 15:06:51 | 显示全部楼层
[root@localhost soft]# rpmbuild -rebuild d4x*.src.rpm
rpmbuild: arguments to --root (-r) must begin with a /
[root@localhost soft]# rpm -rebuild d4x*.src.rpm
Installing d4x-2.5.0final-1.src.rpm
warning: user max does not exist - using root
warning: group max does not exist - using root
error: unpacking of archive failed on file /usr/src/RPM/SOURCES/                d4x-2.5.0final.tar.gz;41d1054b: cpio: read
error: d4x-2.5.0final-1.src.rpm cannot be installed
[root@localhost soft]# rpmbuild --recompile d4x*.src.rpm
Installing d4x-2.5.0final-1.src.rpm
warning: user max does not exist - using root
warning: group max does not exist - using root
error: unpacking of archive failed on file /usr/src/RPM/SOURCES/d4x-2.5.0final.tar.gz;41d10679: cpio: read
error: d4x-2.5.0final-1.src.rpm cannot be installed

帮我看看怎么回事。。
发表于 2006-11-22 00:05:25 | 显示全部楼层
大意是说要用root账户安装
回复 支持 反对

使用道具 举报

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

本版积分规则

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