LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpmbuild-command not found (https://www.linuxquestions.org/questions/linux-software-2/rpmbuild-command-not-found-80887/)

arnold_it 08-11-2003 06:03 AM

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 !

Crashed_Again 08-11-2003 06:08 AM

I think what you are looking for is:

rpm --rebuilddb

BigNate 08-11-2003 06:20 AM

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.

arnold_it 08-11-2003 07:08 AM

when I do the "whereis rpmbuild" I juz get this "rpmbuild:"
what do I do now, and how can I get this installed ?

BigNate 08-11-2003 08:54 AM

well. I am sure it is on the install discs.

System settings=> Add Remove applications

check development tools and load the disc as prompted.


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