Hello
I found out that Mail::SPF is failing. When checked, its because the server is using the latest version of perl 5.8.8 and looks like Mail::SPF is no longer compatible and it is compatible only to 5.6
What do you think the solution for this?
Hello
I found out that Mail::SPF is failing. When checked, its because the server is using the latest version of perl 5.8.8 and looks like Mail::SPF is no longer compatible and it is compatible only to 5.6
What do you think the solution for this?
I'm unable to install Mail::SPF either. Running 11.25.0-RELEASE_42399
Here is the output from /scripts/checkperlmodules
Code:CPAN.pm: Going to build J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz perl-64bit-hack: enabled # running Build.PL --otherldflags -L/usr/lib64 --config ldflags=-L/usr/lib64 --extralibdir /usr/lib64 Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'Mail-SPF' version 'v2.7.0' Prereq 'v5.6' for 'perl' is not supported by Module::Build::Compat make: *** No targets. Stop. JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz /usr/bin/make OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK Running make install Make had returned bad status, install seems impossible perlmod--Install done
well, you have to install the module manually as it looks like some kind of a bug. Download the mail::spf module from cpan.org and install.
I've split the posts about Mail::SPF into a new thread dedicated to the separate issue.
I was able to reproduce this on a test system by uninstalling Mail::SPF then attempting to re-install; further investigation will be needed to determine the exact cause, but I was able to confirm a set of steps you may use for re-installing the "Mail::SPF" Perl module.
Please use the following command to perform the install:
As an alternative, to help clarify the steps used by the above command, here is each step on its own line:Code:# perl -MCPAN -e "get('Mail::SPF')" && cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf && tar -xzvf Mail-SPF-v2.007.tar.gz && cd Mail-SPF-v2.007 && perl Build.PL && ./Build && ./Build test && ./Build install && /scripts/checkperlmodules --full
Code:# perl -MCPAN -e "get('Mail::SPF')" # cd /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf # tar -xzvf Mail-SPF-v2.007.tar.gz # cd Mail-SPF-v2.007 # perl Build.PL # ./Build # ./Build test # ./Build install # /scripts/checkperlmodules --full
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
I got the same problem on my cpanel server. Last night, the datacenter accidentally wiped out the wrong drive and I ended up reinstalling cpanel. It seems that when I dropped the backup of the cpanel directory into the restored server, this error cropped up. The solution above fixed it and a bunch of other errors I was getting related to spamassassin.
Details:
cPanel 11.25.0-R42399 - WHM 11.25.0 - X 3.9
CENTOS 5.4 i686 standard on int
I am getting notification even after re-installing perl modules that MAIL::SPF could not be installed
see the logs below:
This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:
Test Run
==============
Can't locate Mail/SPF.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.
Installer Run
==============
commit: wrote '/usr/local/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: Storable loaded ok (v2.21)
Going to read /home/.cpan/Metadata
Database was generated on Tue, 12 Jan 2010 09:00:52 GMT
Running install for module 'Mail::SPF'
Running make for J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
CPAN: Compress::Zlib loaded ok (v2.017)
Checksum for /home/.cpan/sources/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz ok
Mail-SPF-v2.007
Mail-SPF-v2.007/MANIFEST
Mail-SPF-v2.007/TODO
Mail-SPF-v2.007/CHANGES
Mail-SPF-v2.007/META.yml
Mail-SPF-v2.007/MANIFEST.SKIP
Mail-SPF-v2.007/INSTALL
Mail-SPF-v2.007/README
Mail-SPF-v2.007/Makefile.PL
Mail-SPF-v2.007/LICENSE
Mail-SPF-v2.007/Build.PL
Mail-SPF-v2.007/SIGNATURE
Mail-SPF-v2.007/lib
Mail-SPF-v2.007/lib/Mail
Mail-SPF-v2.007/lib/Mail/SPF.pm
Mail-SPF-v2.007/lib/Mail/SPF
Mail-SPF-v2.007/lib/Mail/SPF/Server.pm
Mail-SPF-v2.007/lib/Mail/SPF/Util.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mod.pm
Mail-SPF-v2.007/lib/Mail/SPF/Result.pm
Mail-SPF-v2.007/lib/Mail/SPF/Request.pm
Mail-SPF-v2.007/lib/Mail/SPF/MacroString.pm
Mail-SPF-v2.007/lib/Mail/SPF/SenderIPAddrMech.pm
Mail-SPF-v2.007/lib/Mail/SPF/Exception.pm
Mail-SPF-v2.007/lib/Mail/SPF/Base.pm
Mail-SPF-v2.007/lib/Mail/SPF/Term.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech.pm
Mail-SPF-v2.007/lib/Mail/SPF/Record.pm
Mail-SPF-v2.007/lib/Mail/SPF/v1
Mail-SPF-v2.007/lib/Mail/SPF/v1/Record.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mod
Mail-SPF-v2.007/lib/Mail/SPF/Mod/Redirect.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mod/Exp.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech
Mail-SPF-v2.007/lib/Mail/SPF/Mech/PTR.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/A.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/All.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/IP6.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/MX.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/Include.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/Exists.pm
Mail-SPF-v2.007/lib/Mail/SPF/Mech/IP4.pm
Mail-SPF-v2.007/lib/Mail/SPF/v2
Mail-SPF-v2.007/lib/Mail/SPF/v2/Record.pm
Mail-SPF-v2.007/debian
Mail-SPF-v2.007/debian/libmail-spf-perl.install
Mail-SPF-v2.007/debian/spf-tools-perl.postinst
Mail-SPF-v2.007/debian/rules
Mail-SPF-v2.007/debian/compat
Mail-SPF-v2.007/debian/changelog
Mail-SPF-v2.007/debian/watch
Mail-SPF-v2.007/debian/spf-tools-perl.prerm
Mail-SPF-v2.007/debian/copyright
Mail-SPF-v2.007/debian/spf-tools-perl.install
Mail-SPF-v2.007/debian/control
Mail-SPF-v2.007/bin
Mail-SPF-v2.007/bin/spfquery
Mail-SPF-v2.007/t
Mail-SPF-v2.007/t/Mail-SPF-Test-lib.pm
Mail-SPF-v2.007/t/90-author-pod-validation.t
Mail-SPF-v2.007/t/00.01-class-util.t
Mail-SPF-v2.007/t/10.00-rfc4408.t
Mail-SPF-v2.007/t/rfc4408-tests.yml
Mail-SPF-v2.007/t/10.01-rfc4406.t
Mail-SPF-v2.007/t/00.04-class-server.t
Mail-SPF-v2.007/t/00.05-class-macrostring.t
Mail-SPF-v2.007/t/00.00-class-misc.t
Mail-SPF-v2.007/t/00.02-class-request.t
Mail-SPF-v2.007/t/rfc4406-tests.yml
Mail-SPF-v2.007/t/00.99-class-misc.t
Mail-SPF-v2.007/t/00.03-class-result.t
Mail-SPF-v2.007/sbin
Mail-SPF-v2.007/sbin/spfd
CPAN: File::Temp loaded ok (v0.22)
CPAN: YAML loaded ok (v0.71)
CPAN: Module::Build loaded ok (v0.3601)
CPAN.pm: Going to build J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz
perl-64bit-hack: enabled
# running Build.PL --otherldflags -L/usr/lib64 --config ldflags=-L/usr/lib64 --extralibdir /usr/lib64
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Mail-SPF' version 'v2.7.0'
Prereq 'v5.6' for 'perl' is not supported by Module::Build::Compat
make: *** No targets. Stop.
JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz
/usr/bin/make OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 OTHERLDFLAGS=-L/usr/lib64 LDFLAGS=-L/usr/lib64 EXTRALIBDIR=/usr/lib64 -- NOT OK
Running make install
Make had returned bad status, install seems impossible
perlmod--Install done
Same problem here - happened last night.
I got the same email message overnight on a VPS with our hosting company. I dug a little deeper and found this post back about 1 month.
Mail::SPF fails to install
figured I would post a link here to help people since this was the first result in Google.
I've merged two threads regarding the same about difficulty installing Mail::SPF. For reference, here is a link to the specific post within the combined thread that details corrective steps: Mail::SPF fails to install - cPanel Forums
cPResources: Submit a Support Request - Submit a Bug Report - Review existing Tickets-- Donald cPanelDon Holl - Analyst, cPanel Quality Assurance
Cpanel was complaining about the perl version to install perl module Mail::SPF.
Can't locate Mail/SPF.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at - line 1.
BEGIN failed--compilation aborted at - line 1.
CPAN.pm: Going to build J/JM/JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz
# running Build.PL
Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Mail-SPF' version 'v2.7.0'
Prereq 'v0.002.1' for 'Net:NS::Resolver::Programmable' is not supported by Module::Build::Compat
make: *** No targets. Stop.
JMEHNLE/mail-spf/Mail-SPF-v2.007.tar.gz
/usr/bin/make -- NOT OK
Running make install
Make had returned bad status, install seems impossible
perlmod--Install done
Perl version was 5.8.5, upgraded to 5.8.8 without problem.
Tried to install Mail::SPF from whm install perl modules, but get the same error.
upgraded Net:NS::Resolver::Programmable to version 0.003
tried again, same error.
Is there a solution?