Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unknown option "-b" in rpm !!! 1

Status
Not open for further replies.

haneo

Programmer
Jan 2, 2002
274
CA
i have used previous verison of redhat (=<7.3) to build rpm i use the -b option but with redhat 8.0 it say that unknown option -b, but with man rpm i can read theat there is the option -b.
what to do to build my rpms ?
 
I don't want to paste the entire output of '
Code:
man rpm
' , so instead, open the man page for rpm and type:
Code:
/BUILD<hit the enter key>
That searches for (and will take you right to) the section on building packages with rpm. You probably wanted &quot;
Code:
rpm -ba
, which would make binary and source packages (the 'do it all' option).
 
Haneo,

As of Red Hat 8.0, they moved RPM building functions to a separate program called &quot;rpmbuild&quot;.

The parameters are the same, so if you used to use, for example &quot;rpm -bb pkg.spec&quot;, it'll now be &quot;rpmbuild -bb pkg.spec&quot;.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top