Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > rpm.src??

rpm.src??
Thread Tools
Baninated
Join Date: Jun 2000
Location: Cambridge, Chicago, Jerusalem (school/home/heart)
Status: Offline
Reply With Quote
May 2, 2004, 10:46 AM
 
I am running Yellow Dog Linux on my Powerbook Pismo 400. It runs super well. I am trying to rebuild a src.rpm but every command I try with it fails. Examples:

[root@localhost bstone]# rpm --rebuild mol-kmods-0.9.70-3.src.rpm
--rebuild: unknown option

[root@localhost bstone]# rpmbuild -rebuild mol-kmods-0.9.70-3.src.rpm
-bash: rpmbuild: command not found

[root@localhost bstone]# rpmbuild --rebuild mol-kmods-0.9.70-3.src.rpm
-bash: rpmbuild: command not found


I've done several google searches and my oh my it's a wee bit frustrating.

Help!
     
Senior User
Join Date: Jan 2001
Location: Mahwah, NJ USA
Status: Offline
Reply With Quote
May 2, 2004, 10:23 PM
 
Originally posted by bstone:
I am running Yellow Dog Linux on my Powerbook Pismo 400. It runs super well. I am trying to rebuild a src.rpm but every command I try with it fails. Examples:

[root@localhost bstone]# rpm --rebuild mol-kmods-0.9.70-3.src.rpm
--rebuild: unknown option
Yep that option has been "deprecated"... it used to warn you about that but now it just fails as an "unknown option".


[root@localhost bstone]# rpmbuild -rebuild mol-kmods-0.9.70-3.src.rpm
-bash: rpmbuild: command not found

[root@localhost bstone]# rpmbuild --rebuild mol-kmods-0.9.70-3.src.rpm
-bash: rpmbuild: command not found

I've done several google searches and my oh my it's a wee bit frustrating.

Help!
Well the last attempt tells you right there: "rpmbuild: command not found". IOW the package that supplies the rpmbuild command has not been installed. This is a little strange but may be because you did not select to install a development environment. If you are using YDL-Sirius you can install the correct package by simply doing:

rpm -ivh ftp://ftp.yellowdoglinux.com/pub/yel...4.1-9d.ppc.rpm

or look on your distro CDs. Then your rpmbuilds should work fine (or fail for a new and different reason ;-)).
-DU-...etc...
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:36 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2