You have used the option -r (with an argument of ebuild)  (-rebuild)

try using --rebuild  (two hyphens)

-r redefines the root location so -r/usr uses /usr. (hence the message
you received)

-Colin



Bill wrote:
> 
> As Root I've been trying to build an rpm frpm a src.rpm on Mandrake 7.2 as
> follows :-
> 
> 1)copied src.rpm to /usr/src/RPM/SRPMS/
> 2)in term cd'd to that directory
> 3)rpm -rebuild foo.src.rpm
> 
> and I get the error message " rpm: arguments to --root (-r) must begin with
> a /"
> 
> Would somebody please enlighten (no pun intended) me to what this means and
> what (if appropriate) the correct method/comandis for creating RPMs from
> src.rpms.
> 
> Thanks
> 
> Bill

-- 
Colin Humphreys                [EMAIL PROTECTED]                     OVEN
Digital
(ph) +612 85845428           (mob) +61 418437198            (fax) +612
95524700
PGP Key id: B6037E5E fprint: F0EA C979 C9E8 A5C9 EBA7  7C63 6F66 227B
B603 7E5E


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to