LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rpm -bb unknown option (https://www.linuxquestions.org/questions/linux-software-2/rpm-bb-unknown-option-376896/)

nlardizabal 10-25-2005 07:32 PM

RPM Installation Issue
 
Hi,

I'm installing a new package on Red Hat Enterprise Linux 4 ES but it stops the installation with the error "-bb: unknown option" upon entering the command "rpm -bb --target=i386 dgrp-1.9.spec" on the /usr/src/redhat/SPECS directory.

Any help will be appreciated.

bigrigdriver 10-25-2005 08:44 PM

It seems that rpm has been split into two utilities: rpm and rpmbuild. The -bb option is no longer part of rpm . It's now part of rpmbuild. So, modify your command to replace rpm with rpmbuild.

nlardizabal 10-25-2005 10:02 PM

Thanks for the reply!

The command "#rpmbuild -bb --target=i386 dgrp-1.9.spec" was executed but failed towards the end with the error message:

configure error: Unable to find a working compiler: Failing configure script.
error: Bad exit status from /var/tmp/rpm-tmp.49704(%prep)

Thanks for the help.

reddazz 10-26-2005 02:45 AM

Quote:

Originally posted by nlardizabal
Thanks for the reply!

The command "#rpmbuild -bb --target=i386 dgrp-1.9.spec" was executed but failed towards the end with the error message:

configure error: Unable to find a working compiler: Failing configure script.
error: Bad exit status from /var/tmp/rpm-tmp.49704(%prep)

Thanks for the help.

Install the compiler that is need by the configure script. Do you have gcc and related tools installed?

nlardizabal 10-27-2005 10:44 AM

Thanks. The installation went through successfully after installing the gcc compiler.

This is a great forum!


All times are GMT -5. The time now is 07:23 AM.