LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2004, 02:54 AM   #1
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Rep: Reputation: 15
Building RPMs


I have a plethora of howtos on the subject, but I can't get the command to build the rpm to work.

When I run:
rpm -ba foobar.spec
It throws the exception:
-ba: unknown option

All of the information I can find agrees that this is the correct command, including the official rpm howto, the official RPM howto , the fedora rpm
howto
, and some random, yet useful howto I found on google.

I've looked in the manpages, and I'm unable to find the -ba flag.

I'm lost.
 
Old 05-02-2004, 09:08 AM   #2
tmorton
Member
 
Registered: Jan 2003
Location: In front of my computer in Oregon, USA
Distribution: Slackware
Posts: 198

Rep: Reputation: 31
Hi,
They (the RPM gods) have recently renamed rpm -ba to a new program. Try rpmbuild <specfile>
HTH, Taj
 
Old 05-02-2004, 10:26 AM   #3
Brian of Gep
Member
 
Registered: Jul 2003
Location: Arlington, Texas
Distribution: Red Hat 9, Fedora Core 2-test1
Posts: 55

Original Poster
Rep: Reputation: 15
Ah, perfect - thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
Building RPMs from source IronBeagle Linux - Software 2 03-04-2005 01:46 PM
building rpms as non-root user - temp probs frogman Linux - Software 2 11-23-2003 04:41 PM
building rpms from cyrus-sasl help... tarballed Linux - Software 0 08-21-2003 06:09 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration