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 02-06-2003, 12:25 AM   #1
Kilahchris
Member
 
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, 05:06 AM   #2
Noerr
Member
 
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, 09:19 PM   #3
bobo_daclown
Member
 
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, 10:47 PM   #4
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
Quote:
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, 02:16 AM   #5
sandman
Member
 
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 02:22 AM.
 
  


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


All times are GMT -5. The time now is 04:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration