LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 624|回复: 3

经常编译软件的帮忙看看出错信息

[复制链接]
发表于 2004-7-15 11:40:14 | 显示全部楼层 |阅读模式
RPM build errors:
    user tv does not exist - using root
    user tv does not exist - using root
    File must begin with "/": %{perl_vendorlib}/MDK
    File must begin with "/": %{perl_vendorlib}/perl_checker_fake_packages
[root@localhost /]# rpm --rebuild /root/perl-MDK-Common-1.1.11-2mdk.src.rpm
--rebuild: unknown option
[root@localhost /]# rpm -rebuild /root/perl-MDK-Common-1.1.11-2mdk.src.rpm
rpm: arguments to --root (-r) must begin with a /
[root@localhost /]# rpm -rebuild /root/perl-MDK-Common-1.1.11-2mdk.src.rpm
rpm: arguments to --root (-r) must begin with a /
[root@localhost /]# cd ~
[root@localhost root]# rpm -rebuild /root/perl-MDK-Common-1.1.11-2mdk.src.rpm
rpm: arguments to --root (-r) must begin with a /
[root@localhost root]# rpm -rebuild perl-MDK-Common-1.1.11-2mdk.src.rpm
rpm: arguments to --root (-r) must begin with a /
[root@localhost root]# rpm -rebuild -r perl-MDK-Common-1.1.11-2mdk.src.rpm
rpm: arguments to --root (-r) must begin with a /

这是我在编一个*.src.rpm时遇到的

不知作何解释 ?
发表于 2004-7-15 11:50:18 | 显示全部楼层
记得好像是 rpmbuild --rebuild *.src.rpm
发表于 2004-7-15 13:47:35 | 显示全部楼层
rpmbuild -ba或rpmbuild -bb

不知道要不要 root 权呢
 楼主| 发表于 2004-7-15 14:32:46 | 显示全部楼层
命令没错
我想知道的是

File must begin with "/": %{perl_vendorlib}/MDK
File must begin with "/": %{perl_vendorlib}/perl_checker_fake_packages


是什么意思?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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