How to rebuild *.src.rpm in fedora 3

Michael Schwendt fedora at wir-sind-cool.org
Wed May 18 13:18:57 UTC 2005


On Wed, 18 May 2005 19:58:42 +0800, redhat-list wrote:

> Michael, All
> 
> 
>      Thanks for the answer. I download
> rpm-build-4.3.3-8_40.rhfc3.at.x86_64.rpm from http://rpm.pbone.net
> <http://rpm.pbone.net/> . After installed the rpm, I am trying to use
> command  rpmbuild --rebuild ethereal-0.10.0a-1.RH9.src.rpm. The system's
> prompt was "-bash: rpmbuild: command not found". What's wrong with my
> operation?
> 
>      Thanks for any idea.

Don't just download an arbitrary package found with a search engine. Get
the official Fedora Core 3 package. E.g. with "yum install rpm-build",
which would add any dependencies automatically. You should end up with:

  $ rpm --query rpm-build
  rpm-build-4.3.2-21
  
  $ rpm --query --list rpm-build | grep bin
  /usr/bin/rpmbuild

I don't even know whether you really have an AMD64 system. Just let
Yum fetch the package for you.

-- 
Fedora Core release 3 (Heidelberg) - Linux 2.6.11-1.14_FC3
loadavg: 1.20 1.42 1.40




More information about the redhat-list mailing list