in reply to module errors everywhere

Some searching led me to believe it's a misbehaving module for Mail::SPF and Mail::SPF::Query... Net-DNS-Resolver-Programmable.

https://rt.cpan.org/Public/Bug/Display.html?id=95901
How do I apply the patch?

EDIT: Nevermind, I just had to use the patch utility. That was easy. It still won't let me install either though. I'm getting a new error for Mail::SPF

cpanm (App::cpanminus) 1.7001 on perl 5.016000 built for x86_64-linux- +thread-multi Work directory is /root/.cpanm/work/1407252483.29776 You have make /usr/bin/make You have LWP 6.08 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Mail::SPF on cpanmetadb ... --> Working on Mail::SPF Fetching http://www.cpan.org/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF +-v2.9.0.tar.gz -> OK Unpacking Mail-SPF-v2.9.0.tar.gz Entering Mail-SPF-v2.9.0 Checking configure dependencies from META.yml Checking if you have Module::Build 0.2805 ... Yes (0.4206) Checking if you have Module::Build 0.36 ... Yes (0.4206) Configuring Mail-SPF-v2.9.0 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Mail-SPF' version 'v2.9.0' -> OK Checking dependencies from MYMETA.json ... Checking if you have URI 1.13 ... Yes (1.64) Checking if you have version 0 ... Yes (0.9908) Checking if you have Net::DNS::Resolver::Programmable 0.003 ... Yes (v +0.003) Checking if you have Test::More 0 ... Yes (1.001003) Checking if you have Error 0 ... Yes (0.17022) Checking if you have Net::DNS 0.62 ... Yes (0.78) Checking if you have NetAddr::IP 4 ... Yes (4.075) Checking if you have Module::Build 0.2805 ... Yes (0.4206) Building and testing Mail-SPF-v2.9.0 Building Mail-SPF t/00.00-class-misc.t .......... ok t/00.01-class-util.t .......... ok t/00.02-class-request.t ....... ok t/00.03-class-result.t ........ ok t/00.04-class-server.t ........ ok t/00.05-class-macrostring.t ... ok t/00.99-class-misc.t .......... ok domain label truncated at /root/perl5/perlbrew/perls/perl-5.16.0/lib/s +ite_perl/5.16.0/x86_64-linux-thread-multi/Net/DNS/Question.pm line 80 +. # Test case 'toolonglabel' result: # Expected: 'none' # Got: 'fail' # Failed test 'Test case 'toolonglabel' result' # at t/Mail-SPF-Test-lib.pm line 91. # Test case description: DNS labels limited to 63 chars. Bailout called. Further testing stopped: Uncaught error: empty domai +n label at /root/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16. +0/Error.pm line 40. FAILED--Further testing stopped: Uncaught error: empty domain label at + /root/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/Error.pm + line 40. -> FAIL Installing Mail::SPF failed. See /root/.cpanm/work/1407252483. +29776/build.log for details. Retry with --force to force install it.

Replies are listed 'Best First'.
Re^2: module errors everywhere
by Toasterman (Novice) on Aug 06, 2014 at 19:09 UTC
    I found out the NET-DNS module was the issue. I had to go back to version 0.67 but at least the Mail::SPF module installed correctly now.