Date: | Sun, 23 May 2004 10:11:27 +0100 |
From: | David Greaves <david [...] dgreaves.com> |
To: | bug-Mail-IMAPClient [...] rt.cpan.org |
Subject: | [Patch] IMAPClient 2.2.9 (add Digest::HMAC_MD5 as prereq) |
Hi
IMAPClient doesn't specify Digest::HMAC_MD5 as a prereq.
OS: Debian unstable
perl 5.8.3
=====================================================================
Output:
$ make test
make[1]: Entering directory
`/root/.cpan/build/Mail-IMAPClient-2.2.9/MessageSet'
make[1]: Leaving directory
`/root/.cpan/build/Mail-IMAPClient-2.2.9/MessageSet'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.......ok
t/cram-md5....ok 1/45Internal CRAM-MD5 implementation not available:
Can't locate Digest/HMAC_MD5.pm in @INC (@INC contains:
/root/.cpan/build/Mail-IMAPClient-2.2.9/blib/lib
/root/.cpan/build/Mail-IMAPClient-2.2.9/blib/arch /etc/perl
/usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl /usr/local/lib/perl/5.8.1
/usr/local/share/perl/5.8.1 . /etc/perl /usr/local/lib/perl/5.8.3
/usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl
/usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 .) at
/root/.cpan/build/Mail-IMAPClient-2.2.9/blib/lib/Mail/IMAPClient.pm line
124.
at ./t/basic.t line 599
Use of uninitialized value in subroutine entry at
/root/.cpan/build/Mail-IMAPClient-2.2.9/blib/lib/Mail/IMAPClient.pm line
3490.
t/cram-md5....FAILED tests 2-45
Failed 44/45 tests, 2.22% okay
t/fast_io.....ok
t/ranges......ok
t/uidfast.....ok
t/uidplus.....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------------
t/cram-md5.t 45 44 97.78% 2-45
Failed 1/6 test scripts, 83.33% okay. 44/270 subtests failed, 83.70% okay.
make: *** [test_dynamic] Error 255
=====================================================================
solution?
Not tested I'm afraid. I'd already installed Digest::HMAC_MD5 by hand
and have no easy way to uninstall.
--- Makefile.PL 2004-05-23 09:37:16.000000000 +0100
+++ Makefile.PL.orig 2004-05-23 09:35:02.000000000 +0100
@@ -29,7 +29,6 @@
'IO::Select' => 0,
'IO::File' => 0,
'Data::Dumper' => 0,
- 'Digest::HMAC_MD5' => 0,
'Carp' => 1,
},
David