atom feed9 messages in net.sourceforge.lists.courier-usersRe: [courier-users] "make check" fail...
FromSent OnAttachments
Jaime VenturaAug 27, 2009 11:19 am 
Sam VarshavchikAug 27, 2009 3:21 pm 
Jaime VenturaAug 28, 2009 2:49 am 
Sam VarshavchikAug 28, 2009 4:10 am 
Sam VarshavchikAug 28, 2009 2:32 pm 
Jaime VenturaAug 31, 2009 3:45 am 
Sam VarshavchikAug 31, 2009 3:57 am 
Jaime VenturaAug 31, 2009 8:43 am 
Sam VarshavchikAug 31, 2009 2:52 pm 
Subject:Re: [courier-users] "make check" failles on CENTOS 5.3
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Aug 27, 2009 3:21:10 pm
List:net.sourceforge.lists.courier-users

Jaime Ventura writes:

Hello, Im trying to install courier-imap on CENTOS 5.3. After a successfully "configure" and "make", "make check" failles :

INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1 INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=2491, sent=6236, time=0 INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1 INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=26, sent=610, time=0 make[2]: *** [check-am] Error 1 make[2]: Leaving directory `/home/jaimeventura/courier-imap-4.5.1/imap' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/jaimeventura/courier-imap-4.5.1/imap' make: *** [check-recursive] Error 1 [jaime@mailserver courier-imap-4.5.1]$

Ive tried to install an older version (3.0.8) and the result is quite similar, so I believe is something about CENTOS 5.3 and not courier-imap itself (I have it up and running on fedora core 2). I've read the "[Courier-imap] Courier-IMAP on CentOS 4.1 <http://markmail.org/message/swxfcoknewvpc6ru>" message thread which seamed a similar problem, but didnt work either.

Can someone give me some guidelines to debug this problem?

Looking at the Makefile and going through the above output would be your first step. If you save the output from make check and examine it, you'd see that the last command executed by make check is:

LC_ALL=C; export LC_ALL; test "yes" = "yes" || exit 0; /bin/sh ./smaptestsuite |
./testsuitefix.pl | sort | cmp -s - ./smaptestsuite.txt

So, as you see, the check is, basically, after setting up the environment to the C locale, is to run the smaptestsuite script, pipe it through testsuitefix.pl, sort it, then compare the result against the static file smaptestsuite.txt. If the output differs, the test fails.

So, your first logical step would be to generate the test output, in the same manner, and compare it against smaptestsuite.txt to see what's different.

------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july