Oliver Schulze L.
2006-May-04 17:16 UTC
[Dovecot] Problems with Dovecot 1.0 beta7 rpm form atrpm for RHEL4
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 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 Many thanks Oliver -- Oliver Schulze L. <oliver at samera.com.py>
Brian Morrison
2006-May-04 17:23 UTC
[Dovecot] Problems with Dovecot 1.0 beta7 rpm form atrpm for RHEL4
On Thu, 04 May 2006 13:16:21 -0400 "Oliver Schulze L." <oliver at samera.com.py> wrote:> How can I compile the .src.rpm from atrpm? It seems that there is an > error in the spec file:You need to pass in a value for atrelease, so use --define atrelease=<value> I think. -- Brian Morrison bdm at fenrir dot org dot uk GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
Axel Thimm
2006-May-04 17:26 UTC
[Dovecot] Re: Problems with Dovecot 1.0 beta7 rpm form atrpm for RHEL4
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.8The 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.beta7Use 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20060504/dc8c0914/attachment.bin>