From: Richard June <rjune@bravegnuworld.com>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: Re: Rebuilding rpms from source
Date: Sat, 25 Nov 2000 22:27:56 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.21.0011252226540.13512-100000@firbolg.bravegnuworld.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0011241205590.9656-100000@talisman.mv.com>
On Fri, 24 Nov 2000, Rich Payne wrote:
> On Fri, 24 Nov 2000, David Rhodes wrote:
>
> > Apologies for being a clueless newbie...
> >
> > I am trying to upgrade the version of cdrecord I have on my pws to something
> > post-v1.9. I couldn't find an alpha rpm for it so I thought it would be a
> > good opportunity to get to grips with rebuilding from a source rpm, so I got
> > hold of cdrecord-1.9-2.src.rpm and used rpm with the --rebuild flag to try
> > to create an alpha rpm. From reading up on rpm I thought this should appear
> > after the rebuild somewhere under /usr/src/redhat/RPMS, but it didn't. I
> > got what looks to be the package contents in /BUILD and a tarball plus some
> > patches in /SOURCES, but no rpm.
>
> It should be in /usr/src/redhat/RPMS/alpha when it's done. Look at the
> output from RPM, it will tell you if it failed, though it's not always
> obvious. I've found that sometimes the package will compile just fine, but
> in actually packaging the RPM it fails because a pre-requisite is missing.
> Read the output carefully and look for the requires line and check that
> you have everything installed.
>
> Also, are you sure the build was successful? If I remember correctly
> cdrecord can be rather difficult to build.
>
I don't know about it being difficult, but if he did rpm --rebuild and
he's got a build in /usr/src/redhat/BUILD, then it didn't complete, so
somethings not right. rpm --rebuild will remove that stuff when it's built
the package.
prev parent reply other threads:[~2000-11-26 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-24 16:39 Rebuilding rpms from source David Rhodes
2000-11-24 17:08 ` Rich Payne
2000-11-26 3:27 ` Richard June [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox