LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2003, 07:03 AM   #1
arnold_it
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Unhappy rpmbuild-command not found


Hi all,

I recently installed RedHat 9 on my PC and I'm tryinng something new....ie using toasters for Qmail. Previously I had qmail installed on Redhad 7.3.

Anyways, when I try to run the following command- "rpmbuild --rebuild --with rht90 daemontools-toaster-0.76-1.0.4.src.rpm" I get an error "-bash: rpmbuild: command not found"

Do I need to get this rpmbuild installed ? if so, there where can I get it from. I also tried the "rpm --rebuild" command but nothing seems to work. My rpm version is greated than 4.0 so it should reconize the -- flags. Don't know where the problem is...pls help !
 
Old 08-11-2003, 07:08 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I think what you are looking for is:

rpm --rebuilddb
 
Old 08-11-2003, 07:20 AM   #3
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Re: rpmbuild-command not found

Quote:
Originally posted by arnold_it
bash: rpmbuild: command not found
The crux of the problem is that rpmbuild does not appear to be installed. That's odd as I am pretty sure it is part of rpm. Or did you move rpm? meaning, is in a dir that is not in your $PATH ?

Try:

#whereis rpmbuild

you should see something like:

rpmbuild: /usr/bin/rpmbuild /usr/share/man/man8/rpmbuild.8.gz

if not you may need to install it to build your src rpm's. Or cd to the dir and dot-slash it.
 
Old 08-11-2003, 08:08 AM   #4
arnold_it
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
when I do the "whereis rpmbuild" I juz get this "rpmbuild:"
what do I do now, and how can I get this installed ?
 
Old 08-11-2003, 09:54 AM   #5
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
well. I am sure it is on the install discs.

System settings=> Add Remove applications

check development tools and load the disc as prompted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bash: <command name> command not found smash Programming 5 03-13-2006 09:48 AM
rpmbuild: command not found ltt19 Linux - Software 7 11-28-2004 01:34 PM
cd.. command not found?!? xtremcoder Fedora 4 10-06-2004 05:43 PM
Problems with libpng not found when using rpmbuild on a .src file superduty455 Linux - Software 5 09-16-2004 04:15 PM
rpmbuild: command not found zebra5 Linux - Software 3 10-08-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:25 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