Cyrus-sasl-2.1.17-2 build fails

Wil Cooley wcooley at nakedape.cc
Mon Feb 2 15:25:42 EST 2004


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                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc
* * * * * *  Linux Consulting in Portland, Oregon * * * * * *   
*   Naked Ape Consulting                http://nakedape.cc  *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040202/b8ffcd23/attachment.bin


More information about the Info-cyrus mailing list