LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-12-2007, 05:06 AM   #1
cnupeddi
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Unhappy problem in running rpm command


Hi,

I am trying to build an binary rpm with my java build folder. when i try to run the command rpm -bb specfile name it is prompting that the (bb)options is not valid. can you please tell me any way that i can execute the program.

Thanks,
Sri
 
Old 03-12-2007, 06:20 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Maybe you want to use rpmbuild instead of rpm to build packages.
 
Old 03-12-2007, 09:31 AM   #3
cnupeddi
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Lenard
Maybe you want to use rpmbuild instead of rpm to build packages.

if i tried to use rpmbuild then the following is the error i received

Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}

but what are check-files?

Thanks for the reply,
Sri
 
Old 03-12-2007, 10:16 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Newer versions of rpmbuild run '/usr/lib/rpm/check-files' which looks for files that are installed but not included in a package. Maybe your missing something that the package requires to be available or installed. Check the %files section of the spec file.
 
  


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 can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
Problem using rpm command thorney Linux - Newbie 1 11-24-2005 06:50 PM
problem with rpm command saipraveen Linux - Newbie 3 08-22-2005 03:51 PM
Problem running rpm jaggu Linux - Software 5 01-22-2004 05:37 PM
rpm command problem lf412 Linux - Newbie 4 02-26-2003 08:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:14 AM.

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