[PLUG] What to do when perl module installation fails

Rich Shepard rshepard at appl-ecosys.com
Mon Sep 11 13:05:18 UTC 2017


   Running sa-learn this morning displayed a warning (error?) message not
before seen:

"Use of uninitialized value in numeric ge (>=) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/AskDNS.pm line 214.
plugin: failed to parse plugin /etc/mail/spamassassin/Botnet.pm: Can't
locate Net/DNS.pm in @INC (you may need to install the Net::DNS module)
(@INC contains: /usr/share/perl5/vendor_perl /usr/local/lib/perl5
/usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/lib/perl5
/usr/share/perl5) at /etc/mail/spamassassin/Botnet.pm line 32. BEGIN
failed--compilation aborted at /etc/mail/spamassassin/Botnet.pm line 32.
Compilation failed in require at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/PluginHandler.pm line 109."

   As root I tried to install Net::BSD using 'perl -MCPAN -e shell' and this,
too, failed:

Test Summary Report
-------------------
t/08-IPv4.t                 (Wstat: 65280 Tests: 70 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 77 tests but ran 70.
Files=106, Tests=2978, 48 wallclock secs ( 0.88 usr  0.14 sys + 10.62 cusr  0.72 csys = 12.36 CPU)
Result: FAIL
Failed 1/106 test programs. 0/2978 subtests failed.
Makefile:1337: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
   NLNETLABS/Net-DNS-1.05.tar.gz
   /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
   reports NLNETLABS/Net-DNS-1.05.tar.gz
Failed during this command:
  NLNETLABS/Net-DNS-1.05.tar.gz                : make_test NO

   I've not had 'install <module_name>' fail before and need advice on how to
proceed to get the module installed so spamassassin is once again happy.

   The installed perl version is perl-5.22.2.

Rich



More information about the PLUG mailing list