Re: Cyrus-sasl-2.1.17-2 build fails

From: Wil Cooley (no email)
Date: Mon Feb 02 2004 - 15:25:42 EST


On Mon, 2004-02-02 at 09:38, Shelley Waltz wrote:
> Yes, I tried that. The spec file is in
> /usr/src/redhat/SPECS/cyrus-sasl.spec
> I change db3 to db4 in the spec file.
>
> I have the src rpm in /usr/local/src
> I do rpmbuild --rebuild cyrus-sasl-2.1.17-2.src.rpm
> and it fails ...
> rpmbuild --rebuild cyrus-sasl-2.1.17-2.src.rpm
> Installing cyrus-sasl-2.1.17-2.src.rpm
> error: Failed build dependencies:
> db3-devel is needed by cyrus-sasl-2.1.17-2
>
> I look at the spec file and it has the db4 changed back to db3.
> Something in my process overwrites the spec file after I have changed it.

You need to install the src.rpm first, with 'rpm -ivh foo.src.rpm', then
edit the spec file, then rebuild with 'rpmbuild -bb foo.spec.' To get
started, you are best off not building as root; you can read about
setting that up at my Wiki page:

http://nakedape.cc/wiki/index.cgi/RpmNotes

Wil

-- 
Wil Cooley                                 
Naked Ape Consulting                        http://nakedape.cc
* * * * * *  Linux Consulting in Portland, Oregon * * * * * *   
*   Naked Ape Consulting                http://nakedape.cc  *









Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD