LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2004, 02:19 PM   #1
bublebboy
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Rep: Reputation: 0
Exclamation Installing XFree86-4.3.0-42.src.rpm


When I try to install XFree86-4.3.0-42.src.rpm It acts al though it has installed. I do not get any error messages and everything appears to be in order. However, when trying to install something that requires XFree86-4.3.0-42.src.rpm I get an error message saying that I need to install it.
 
Old 04-25-2004, 02:55 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
that's not a binary rpm. it's a source rpm -> *.src.rpm

to build a binary rpm that will install xfree, use the command:

rpm --rebuild *.src.rpm

then click on the built *.rpm file to install xfree.
 
Old 04-25-2004, 03:30 PM   #3
bublebboy
LQ Newbie
 
Registered: Dec 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks, I think it worked, but I got the following error, so I am not sure

Bad exit status from /var/tmp/rpm-tmp.62911

any idea what that means?
 
Old 04-25-2004, 10:45 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
When you install a src.rpm, you get a minimun of two files installed; more if there are patch files in the src.rpm. The location of the installation varies among the distros. To find yours, open a terminal and do 'locate SPECS' (without quotes). That is where the src.rpm will install the spec file which will build the new binary rpm. Then 'locate SOURCES). That is where the src.rpm will install the source tarball and patch files. To build a new rpm, cd to the SPECS directory, and, as root, issue the command 'rpm -bb <filename>.spec'. -bb tells rpm to build (-b) and binary (b) rpm. Substitute the filename of the spec file for <filename>. When it's all done cranking, you will have a new, installable rpm in the RPMS directory, in one of the subfolders, which you can install (unless more errors crop up).
See the manpages on rpm for more info on building rpms.
 
  


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
Installing a src rpm Chijtska Linux - Software 2 04-13-2005 09:49 AM
Installing foo.src.rpm hhegab Linux - Software 1 06-03-2004 07:35 AM
error with installing src.rpm morningstar665 Linux - Software 5 11-23-2003 01:56 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


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