On Sat, Aug 28, 2004 at 01:04:27PM -0700, Bart Schaefer wrote:
> On the other hand, if you know version numbers of packages that are
> required, why haven't you listed them in the Makefile.PL prequisites?

Well, the reason for that is Net::DNS isn't required for SpamAssassin to
work, so it's not really a prerequisite like HTML::Parser or Digest::SHA1.
Arguably, the Makefile should throw a warning if it finds Net::DNS
available, but an old version, just to let you know that you won't be
able to use it.

"make test" doesn't check for version, but if you run one of the SpamAssassin
scripts, and the version isn't new enough, it will consider DNS to not be
available and auto-disable the DNSBLs.  Running with debug would tell you:

"Net::DNS version is $Net::DNS::VERSION, but need 0.34"

This is actually what you're seeing, I believe.  The test runs, "spamassassin"
can't use the old version so none of the rules hit and the test fails.

So the issue actually becomes: the tests validly fail if you try to test
DNSBLs -- they're just not verbose about what the problem is, which none of
them are really.  There sometimes are logs in t/log, but dnsbl doesn't seem to
spit out debug information. :(

-- 
Randomly Generated Tagline:
"Redmond - Microsoft corp. announced this weekend that they will be
 re-organizing into four functionally distinct divisions: Lying, Cheating,
 Stealing, and Crashing. Wall Street analysts agree that this change will
 better enable MSFT to achieve its strategic goals."   - Unknown

Attachment: pgpiSMR6e0bsR.pgp
Description: PGP signature

Reply via email to