On Wed, 2003-10-08 at 01:23, Jeff Jansen wrote:
> On Wednesday 08 October 2003 00:03, Stephen Arnold wrote:
> > I've been having trouble building courier rpms on RedHat 7.3 (which
> > worked fine on another machine a few months ago).  On this machine, I
> > started with the latest source package (0.43.2) which had rpm build
> > errors.
> 
> Sam put out a patch so that 0.43.2 would compile under RH 7.3.  I'll forward 
> it to you off the list.
> 
> > rpm -ba --define 'xflags --enable-https
> > --enable-workarounds-for-imap-client-bugs' courier.spec

I applied the patch, which fixed the maildrop error, and now there's a
more informative error in imapd:

Making check in imap
make[1]: Entering directory
`/home/sarnold/rpm/BUILD/courier-0.43.2/imap'
 
Error: --with-trashquota or the
--enable-workarounds-for-imap-client-bugs
option was specified to the configure script.
 
As INSTALL told you, make check fails if these options are used, and I
wasn't kidding when I wrote it.  Reconfigure and rebuild without these
options, then rerun make and make check.  If make check passes,
reconfigure again with your original options, and proceed with
installing this server.  Have fun!
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/sarnold/rpm/BUILD/courier-0.43.2/imap'
make: *** [check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.58244 (%build)

Looks like the rpms need at least one more patch, and no, I don't think
it's appropriate to have to comment out the make check in the spec file
just to build rpms correctly.  Rpm should be able to handle it, ie, run
the make check without the additional configure options, then build the
rpms with the options enabled (and no, I don't have the time to fix it
myself right now).

The part I don't get is why 0.42.2 built fine on another RH 7.3 machine
just a few months ago...

Thanks, Steve

-- 
Stephen Arnold <[EMAIL PROTECTED]>
ENSCO, Inc.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to