LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2008, 12:48 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
rpmbuild --rebuild problem


Hello everyone:

I have a small problem building an rpm from it's patched source.

I've got the source rpm, open it, add the patch and then try to run a:
Code:
$ rpmbuild --rebuild -ba x.spec
But I just get this error:
Code:
Installing x.spec
error: x.spec cannot be installed
I'm not too knowledgeable with the use of RPM but seems to be quite staight forward.

The spec does include the patch listed and the location is the one that is supposed to be.

So far Google has not show any light on the issue and when ran with the -v for verbosity going I've got nothing.
 
Old 09-04-2008, 03:14 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
To build an RPM from source use 'rpmbuild -ba x.spec'. To rebuild a .src.rpm use "--rebuild".
 
Old 09-04-2008, 03:19 PM   #3
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Original Poster
Rep: Reputation: 33
Thanks so much for your response.


Turns out I'm half retarded and I did not have the rpm-devel installed.


Sorry to waste your time.
 
Old 09-04-2008, 03:31 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by mago View Post
Turns out I'm half retarded
Still means half of you mentally isn't. I hope I've been speaking to that half :-]
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't rebuild RPM - rpmbuild command not found defa0009 Linux - Newbie 11 12-10-2007 06:35 AM
rpmbuild --rebuild cross machine query stefaandk Fedora 2 06-24-2005 03:00 AM
rpmbuild rebuild running for long time littauer99 Linux - Newbie 1 11-28-2004 04:37 PM
rpmbuild problem Lobais Linux - Software 0 10-08-2004 06:25 AM
rpmbuild --rebuild qmail-1.03 gets error aggiesoft Red Hat 0 03-02-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration