On Thu, May 04, 2006 at 01:16:21PM -0400, Oliver Schulze L. wrote:
Hi, I just want to install dovecot 1.0 beta7 from atrpm and noted that it depends on a non official dependency.
If you have RHEL4 (Centos) 4.3 fully updated and you try to install: http://dl.atrpms.net/all/dovecot-1.0-0_10.99.beta7.el4.at.i386.rpm You get this error: # rpm -ivh dovecot-1.0-0_10.99.beta7.el4.at.i386.rpm error: Failed dependencies: openssl >= 0.9.7f-4 is needed by dovecot-1.0-0_10.99.beta7.el4.at.i386
The lates official openssl version for RHEL 4.3 is: # rpm -q openssl openssl-0.9.7a-43.8
The above is taken from Fedora Core, maybe it is too strict.
I think I can solve this problem by compiling the src.rpm, but I get this error: # rpmbuild --rebuild --target=i686 --clean dovecot-1.0-0_10.99.beta7.el4.at.src.rpm Installing /opt/shares/tmp/dovecot-1.0-0_10.99.beta7.el4.at.src.rpm Building target platforms: i686 Building for target i686 error: line 4: Tag takes single token only: Release: 0_%atrelease 10.99.beta7
How can I compile the .src.rpm from atrpm? It seems that there is an error in the spec file:
This line:
Release: 0_%atrelease 10.99.beta7 should it looks like this: Release: 0_%{atrelease}10.99.beta7
Use rpmbuild --define 'atrelease() %1.el4.oliver' ...
or similar.
Let us know whether it works, so I can fix the dependecy on openssl.
The quick and dirty way is to install the package with rpm --nodeps, but that's very dirty (but also very quick ;).
Axel.Thimm at ATrpms.net