| From | Sent On | Attachments |
|---|---|---|
| John Welch | Sep 20, 2005 8:42 am | |
| Sam Varshavchik | Sep 20, 2005 3:27 pm | |
| John Welch | Sep 21, 2005 5:10 am | |
| Sam Varshavchik | Sep 21, 2005 3:37 pm | |
| John Welch | Sep 22, 2005 5:39 am | |
| Sam Varshavchik | Sep 22, 2005 3:40 pm | |
| John Welch | Sep 23, 2005 5:48 am |
| Subject: | Re: [Courier-imap] Courier-IMAP on CentOS 4.1 | |
|---|---|---|
| From: | John Welch (jwe...@brosco.com) | |
| Date: | Sep 23, 2005 5:48:01 am | |
| List: | net.sourceforge.lists.courier-imap | |
Sam Varshavchik wrote:
John Welch writes:
Sam Varshavchik wrote:
John Welch writes:
John Welch writes:
I'm trying to get Courier-IMAP installed on a system running CentOS 4.1 (RHEL 4 clone - kernel is 2.6.9-11.EL) and I'm running into a problem. Per the documentation, since this is basically a RedHat system, I first started by trying to build RPMS, using the command "rpmbuild -ta courier-imap-4.0.5.tar.bz2". This runs for a while, but when it is in the "make check" phase I get the following:
make[1]: Entering directory `/home/jrw/rpm/BUILD/courier-imap-4.0.5/maildir' /usr/bin/make check-am make[2]: Entering directory `/home/jrw/rpm/BUILD/courier-imap-4.0.5/maildir' /bin/sh ./testsuite 2>&1 | cmp - ./testsuite.txt - ./testsuite.txt differ: char 210, line 17
Run: "./testsuite 2>&1 | diff -U 5 - ./testsuite.txt" from the maildir subdirectory.
This should provide additional information.
The output of this command produced the following: --- - 2005-09-21 07:56:14.016584000 -0400 +++ ./testsuite.txt 2005-02-16 18:42:54.000000000 -0500 @@ -12,13 +12,13 @@ Error appending err1: 4 Error appending rule7: 4 Added err2 Error appending err3: 4 Error appending err4: 4 -Added err5 +Error appending err5: 4
As a temporary workaround, install the pcre and pcre-devel packages. You can remove them after compiling Courier-IMAP.
Thanks for the suggestion, but both packages are already installed.
As discussed in another thread, on some versions of RHEL the pcre library does not get detected even if it's installed, triggering this bug. CentOS may also exhibit this behavior.
If /usr/include/pcre.h does not exist, make a soft link from /usr/include/pcre.h to /usr/include/pcre/pcre.h, and rebuild with PCRE support.
That did the trick. Thank you.





