LinuxQuestions.org
Review your favorite Linux distribution.
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 10-25-2005, 07:32 PM   #1
nlardizabal
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
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.

Last edited by nlardizabal; 10-25-2005 at 08:38 PM.
 
Old 10-25-2005, 08:44 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
Old 10-25-2005, 10:02 PM   #3
nlardizabal
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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.

Last edited by nlardizabal; 10-25-2005 at 11:08 PM.
 
Old 10-26-2005, 02:45 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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?
 
Old 10-27-2005, 10:44 AM   #5
nlardizabal
LQ Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks. The installation went through successfully after installing the gcc compiler.

This is a great forum!
 
  


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
building .src.rpm -> unknown option gletare Fedora 2 11-05-2005 04:44 PM
rpm --rebuild - unknown option? futz Linux - Newbie 8 08-03-2005 09:35 PM
rpm -ba => -b : unknown option nextone Linux From Scratch 3 12-22-2004 07:48 PM
rpm -bp command not working says "-bp: unknown option" Niceman2005 Linux - Software 2 11-08-2004 01:36 AM
rpm -bb : unknown option stevie_velvet Linux - Enterprise 4 09-08-2004 08:23 AM

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

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