Mail::SPF::Query is missing. Installing via CPAN timed out

Mark Sapiro mark at msapiro.net
Fri Jun 11 22:35:07 UTC 2021


On 6/11/21 2:57 PM, Remco Barendse wrote:
> Loads of stuff that doesn' make any sense to me :
> 
> 
> Configuring J/JM/JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz 
> with Makefile.PL
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for Mail::SPF::Query
> Writing MYMETA.yml and MYMETA.json
>    JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz
>    /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
> Running make for J/JM/JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz
> CPAN: Module::CoreList loaded ok (v5.20190522)
> cp lib/Mail/SPF/Query.pm blib/lib/Mail/SPF/Query.pm
> cp bin/spfd blib/script/spfd
> "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/spfd
> cp bin/spfquery blib/script/spfquery
> "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- 
> blib/script/spfquery
> Manifying 2 pod documents
> Manifying 1 pod document
>    JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz
>    /usr/bin/make -- OK
> Running make test for JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" 
> "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 
> 'blib/lib', 'blib/arch')" t/*.t
> t/00_all.t .. 3/223 # Test 3 got: "unknown" (t/00_all.t at line 127 fail 
> #2)
> #   Expected: "neutral"...
> spf_source_type = original-spf-record
> ^Cmake: *** [Makefile:853: test_dynamic] Interrupt
>    JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz
>    /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module, try:
>    reports JMEHNLE/mail-spf-query/Mail-SPF-Query-1.999.1.tar.gz


So the module was downloaded and `make` succeeded, but `make test` 
failed a few tests and then you interrupted it with '^C'. I'm not sure 
about the failures, but did you have a working internet connection. If 
not, that may be the reason.

In any case look in your home directory for 
.cpan/build/Mail-SPF-Query-1.999.1-0/ directory. There may be more than 
one Mail-SPF-Query-1.999.1-* directory in which case you want the most 
recent one. There should be a Makefile there and you should be able to 
cd to the directory and run

sudo make install

to install the module. Alternatively, you can

sudo cpan force install Mail::SPF::Query

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list