Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-05-2003, 11:25 PM   #1
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
Angry Problems installing src.rpm file????

Im running redhat 8 , and im trying to install this src.rpm file??/ however when i follow the instruction on that says to type rpm --rebuild <filename.src.rpm> console reports --rebuild not a know command. I also tried rpmbuild -rebuild <filename.src.rpm

Old 02-06-2003, 04:06 AM   #2
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
1.) man rpm
2.) you're probably missing compiler (gcc + gcc development..)
Old 02-06-2003, 08:19 PM   #3
Registered: Dec 2002
Location: NC (no comment)
Distribution: Psyche (RH8.0) / LFS / OS X.2 / MDK 9.0 / Win2k Server
Posts: 49

Rep: Reputation: 15
Just making sure: you're not using the less than sign and directing the src.rpm file to rpmbuild right? "rpmbuild --rebuild --target=i686 someApphere.src.rpm" not "rpmbuild --rebuild --target=i686 < someApphere.src.rpm"
Old 02-06-2003, 09:47 PM   #4
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
rpmbuild --rebuild --target=i686

you mean to tell me that i have to all so add -- infront of the target file...?
Old 02-07-2003, 01:16 AM   #5
Registered: Sep 2002
Distribution: arch
Posts: 232

Rep: Reputation: 30
he is suggesting you use the "target" switch so that you make sure you are sending the rebuilt rpm to your source directory. your switch's need to have -- instead of - which will send it to rpmbuild.

edit- your problem was getting the commands wrong(they where almost correct both times but almost is not good enough )
you need to do
rpmbuild --rebuild filename.src.rpm
then watch for a line that starts with something like
"wrote to /usr/src/RPM/RPMS/i686/filename.rpm" and cd to that directory and then do
rpm -ivh filename.rpm using your preferred command needed for rpm.
hope all that makes since.

Last edited by sandman; 02-07-2003 at 01:22 AM.


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
Problems Installing the kernel-2.6.9-1.667.src.rpm fuzzyrush Fedora 5 01-22-2005 02:08 PM
How do I install a src.rpm file? jimdaworm Slackware 5 02-21-2004 05:29 PM
mplayer .src.rpm installing problems Harp00 Linux - Newbie 0 09-25-2003 03:29 PM
Installing .src.rpm Drogo Linux - Software 6 06-17-2003 01:19 PM
Problems installing src.rpm file???? Kilahchris Linux - General 31 02-11-2003 01:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration