Perl module WWW:RobotRules won't install - perl

Originally, I wanted to install XML::Parser::Expat module which gave a message Tests succeeded but one dependency not OK (LWP::UserAgent) which also when tried to install it give a message about one dependency not OK (WWW::RobotRules); additionally test harness failed.
Now installing WWW::RobotRules will give me:
""Test Summary Report
-------------------
t/rules-dbm.t (Wstat: 0 Tests: 13 Failed: 1)
Failed test: 12
Files=2, Tests=63, 0 wallclock secs ( 0.01 usr 0.02 sys + 0.03 cusr 0.04 csys = 0.10 CPU)
Result: FAIL
Failed 1/2 test programs. 1/63 subtests failed.
make: *** [Makefile:840: test_dynamic] Error 255
GAAS/WWW-RobotRules-6.02.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GAAS/WWW-RobotRules-6.02.tar.gz
How can I solve this problem?
Regards,
[Edited]
Loading internal logger. Log::Log4perl recommended for better logging
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 28 Jul 2020 01:41:03 GMT
Running install for module 'WWW::RobotRules'
Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/WWW-RobotRules-6.02.tar.gz ok
Configuring G/GA/GAAS/WWW-RobotRules-6.02.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for WWW::RobotRules
Writing MYMETA.yml and MYMETA.json
GAAS/WWW-RobotRules-6.02.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for G/GA/GAAS/WWW-RobotRules-6.02.tar.gz
cp lib/WWW/RobotRules/AnyDBM_File.pm blib/lib/WWW/RobotRules/AnyDBM_File.pm
cp lib/WWW/RobotRules.pm blib/lib/WWW/RobotRules.pm
Manifying 2 pod documents
GAAS/WWW-RobotRules-6.02.tar.gz
/usr/bin/make -- OK
Running make test for GAAS/WWW-RobotRules-6.02.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/rules-dbm.t .. Failed 1/13 subtests
t/rules.t ...... ok
This is verbose to make test
t/rules-dbm.t ..
1..13
ok 1
Rules: /aas /per /god /old
ok 2
Rules:
ok 3
No visits: 2
Last visit: 1595923839
Fresh until: 1627459829
ok 4
ok 5
ok 6
Agent-Name: myrobot
ok 7
*** Dump of database ***
|ua-name| myrobot
www.aas.no:80|vis 3; 1595923839; Tue Jul 28 17:10:39 2020
www.sn.no:80|vis 1; 1595923829; Tue Jul 28 17:10:29 2020
www.aas.no:80|exp 1627459829; Wed Jul 28 17:10:29 2021
******
ok 8
ok 9
ok 10
ok 11
not ok 12
*** Dump of database ***
|ua-name| MOMSpider
www.sn.no:8080|r2 /bar
www.sn.no:8080|exp 1595923832; Tue Jul 28 17:10:32 2020
www.sn.no:8080|r1 /foo
******
No agent name specified at t/rules-dbm.t line 122.
ok 13
Failed 1/13 subtests
t/rules.t ......
1..50
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok
Test Summary Report
-------------------
t/rules-dbm.t (Wstat: 0 Tests: 13 Failed: 1)
Failed test: 12
Files=2, Tests=63, 0 wallclock secs ( 0.00 usr 0.03 sys + 0.01 cusr 0.06 csys = 0.10 CPU)
Result: FAIL

For some reason the sleep function is not working. I replaced this line in t/rules-dbm.t to an alternative waiting function.
sleep(5) to select(undef, undef, undef, 5)
However, I didn't know the reason. I tried sleep() in a new code and only sleep() would give unlimited waiting time but whaterver seconds I wrote (e.g. 3000000000000) it didn't wait and excuted the following line immediatley. I wish if someone knows the reason to tell me.

Related

How to rerun test while installing perl via perlbrew fails?

I installing perl-5.28.1 via perlbrew. Some tests fail:
../cpan/Tie-RefHash/t/storable.t ................................... ok
../cpan/Tie-RefHash/t/threaded.t ................................... skipped: -- threads aren't enabled in your perl, or Scalar::Util::weaken is missing
# Failed test 'timelocal year for 1970 1 2 0 0 0'
# at t/Local.t line 109.
# got: '170'
# expected: '70'
# Failed test 'timegm year for 1970 1 2 0 0 0'
# at t/Local.t line 124.
# got: '170'
# expected: '70'
# Looks like you failed 2 tests of 187.
../cpan/Time-Local/t/Local.t .......................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/187 subtests
(less 8 skipped subtests: 177 okay)
../cpan/Time-Piece/t/01base.t ...................................... ok
...
Test Summary Report
-------------------
../cpan/Time-Local/t/Local.t (Wstat: 512 Tests: 187 Failed: 2)
Failed tests: 6, 12
Non-zero exit status: 2
Files=2653, Tests=1157584, 928 wallclock secs (116.85 usr 11.01 sys + 603.60 cusr 55.01 csys = 786.47 CPU)
Result: FAIL
makefile:835: recipe for target 'test_harness' failed
make: *** [test_harness] Error 2
##### Brew Failed #####
How to rerun only this failed test?
To run a single one of perl's test file, you can use
t/TEST ../cpan/Time-Local/t/Local.t
This would be run from the following directory:
cd "${PERLBREW_ROOT:-$HOME/perl5/perlbrew}"
cd build/perl-5.x.y/perl-5.x.y
See the What if make test doesn't work? section of the INSTALL file in the same folder for more on testing perl.

CPAN dmake.exe: Error code 255, while making 'test_dynamic'

I start using Strawberry Perl and wanted to install some modules using the cpan command. But i receive the error message "Error code 255, while making 'test_dynamic'".
First i tried to install WWW::Mechanize::Firefox finding that i miss three other module: MozRepl::RemoteObject 0.39; Object::Import and Shell::Command. The first two of those 3 give the same error message. The Shell::Command installed whitout any error message.
MozRepl::RemoteObject 0.39:
Test Summary Report
-------------------
t/10-plugin-repl-enter.t (Wstat: 512 Tests: 3 Failed: 2)
Failed tests: 2-3
Non-zero exit status: 2
t/16-plugin-repl-home.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
t/18-plugin-repl-util-help_url_for.t (Wstat: 768 Tests: 4 Failed: 3)
Failed tests: 2-4
Non-zero exit status: 3
t/19-plugin-repl-util-doc_for.t (Wstat: 768 Tests: 7 Failed: 3)
Failed tests: 2-3, 5
Non-zero exit status: 3
t/20-plugin-json.t (Wstat: 256 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=14, Tests=58, 6 wallclock secs ( 0.01 usr + 0.05 sys = 0.06 CPU)
Result: FAIL
Failed 5/14 test programs. 10/58 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
ZIGOROU/MozRepl-0.06.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ZIGOROU/MozRepl-0.06.tar.gz
Stopping: 'test' failed for 'MozRepl'.
Object::Import
Test Summary Report
-------------------
t/04_handle.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 56 tests but ran 3.
Files=14, Tests=265, 3 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: FAIL
Failed 1/14 test programs. 0/265 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports AMBRUS/Object-Import-1.004.tar.gz
Stopping: 'install' failed for 'Object::Import'.
Failed during this command:
AMBRUS/Object-Import-1.004.tar.gz : make_test NO
I'm not a Perl programmer, just startet.
/edit: the other question is about another package. I read the cpantesters page and the packages should be OK. But could it be that there is something whit the 64-bit version. On the cpantesters site are all windows related entries are for win32:
http://www.cpantesters.org/distro/O/Object-Import.html#Object-Import-1.004
http://www.cpantesters.org/distro/M/MozRepl-RemoteObject.html#MozRepl-RemoteObject-0.39
/edit2: Tried to get some reports and run both installs again, now it looks like the MozRepl::RemoteObject went good, but the Object::Import didn't: So here is the error report from that:
Running install for module 'Object::Import'
Checksum for C:\STRAWB~1\cpan\sources\authors\id\A\AM\AMBRUS\Object-Import-1.004.tar.gz ok
Scanning cache C:\STRAWB~1\cpan\build for sizes
............................................................................DONE
Configuring A/AM/AMBRUS/Object-Import-1.004.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Object::Import
Writing MYMETA.yml and MYMETA.json
AMBRUS/Object-Import-1.004.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for A/AM/AMBRUS/Object-Import-1.004.tar.gz
cp lib/Object/Import.pm blib\lib\Object\Import.pm
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_require.t ... ok
t/01_basic.t ..... ok
t/02_auto.t ...... ok
t/03_bigint.t .... ok
t/04_handle.t ....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 53/56 subtests
t/05_nometh.t .... ok
t/06_deref.t ..... ok
t/07_mary.t ...... ok
t/08_target.t .... ok
t/09_parm.t ...... ok
t/10_alias.t ..... ok
t/11_exporter.t .. ok
t/12_taint.t ..... ok
t/13_meta.t ...... ok
Test Summary Report
-------------------
t/04_handle.t (Wstat: 65280 Tests: 3 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 56 tests but ran 3.
Files=14, Tests=265, 3 wallclock secs ( 0.09 usr + 0.06 sys = 0.16 CPU)
Result: FAIL
AMBRUS/Object-Import-1.004.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports AMBRUS/Object-Import-1.004.tar.gz
Stopping: 'install' failed for 'Object::Import'.

cannot install Catalyst 5.9 on Windows 10

This is another attempt to be more direct with my question. I am having extreme difficult getting Strawberry Perl 5.22 64bit on Windows 10 ready for simple web development.
I first started with cpanm Catalyst::Devel and that failed to install a group of dependencies:
==> Found dependencies: Plack::Test, Plack::Builder, Plack::Middleware, Plack::Util
! Installing the dependencies failed: Module 'Plack::Test' is not installed, Module 'Plack::Middleware' is not installed, Module 'Plack::Builder' is not installed, Module 'Plack::Util' is not installed
! Bailing out the installation for Plack-Middleware-RemoveRedundantBody-0.05.
! Installing the dependencies failed: Module 'Plack::Middleware::IIS6ScriptNameFix' is not installed, Module 'Plack::Middleware::ContentLength' is not installed, Module 'Plack::Test::ExternalServer' is not installed, Module 'Plack::Middleware::HTTPExceptions' is not installed, Module 'Plack::Middleware::ReverseProxy' is not installed, Module 'Plack::Middleware::MethodOverride' is not installed, Module 'Plack::Request::Upload' is not installed, Module 'Plack::Middleware::FixMissingBodyInRedirect' is not installed, Module 'Plack::Middleware::LighttpdScriptNameFix' is not installed, Module 'Plack::Middleware::RemoveRedundantBody' is not installed, Module 'Plack::Middleware::Conditional' is not installed, Module 'Plack::Middleware::Head' is not installed, Module 'Plack' is not installed, Module 'Plack::Middleware::IIS7KeepAliveFix' is not installed
! Bailing out the installation for Catalyst-Runtime-5.90103.
And since Plack seemed to be a culprit I ran cpan Plack which led to this error report:
t/01_simple.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/11_net_empty_port.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=14, Tests=117, 87 wallclock secs ( 0.08 usr + 0.05 sys = 0.12 CPU)
Result: FAIL
Failed 2/14 test programs. 2/117 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
TOKUHIROM/Test-TCP-2.14.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TOKUHIROM/Test-TCP-2.14.tar.gz
Stopping: 'install' failed for 'Test::TCP'.
This is output for cpan Test::TCP:
C:\Strawberry>cpan Test::TCP
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: CPAN::SQLite loaded ok (v0.211)
Database was generated on Thu, 14 Jan 2016 18:19:06 GMT
Running install for module 'Test::TCP'
CPAN: Digest::SHA loaded ok (v5.95)
CPAN: Compress::Zlib loaded ok (v2.069)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\T\TO\TOKUHIROM\Test-TCP-2.14.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.04)
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML::XS loaded ok (v0.59)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v1.4417)
CPAN: CPAN::Meta loaded ok (v2.150005)
CPAN: Module::CoreList loaded ok (v5.20151220)
Configuring T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Test::TCP
Writing MYMETA.yml and MYMETA.json
TOKUHIROM/Test-TCP-2.14.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz
cp lib/Test/TCP.pm blib\lib\Test\TCP.pm
cp lib/Test/TCP/CheckPort.pm blib\lib\Test\TCP\CheckPort.pm
cp lib/Net/EmptyPort.pm blib\lib\Net\EmptyPort.pm
TOKUHIROM/Test-TCP-2.14.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00_compile.t ................. 1/1 # Test::More: 1.001014
t/00_compile.t ................. ok
t/01_simple.t .................. 1/? cannot open port: ::1:51108 at C:\STRAWB~1\cpan\build\Test-TCP-2.14-tzPh8E\blib\lib/Test/TCP.pm line 54.
# Child (v6) exited without calling finalize()
# Failed test 'v6'
t/01_simple.t .................. 2/? # at C:/Strawberry/perl/lib/Test/Builder.pm line 279.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/01_simple.t .................. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
t/02_abrt.t .................... skipped: win32 doesn't support embedded function named dump()
t/03_return_when_sigterm.t ..... ok
t/04_die.t ..................... ok
t/05_sigint.t .................. skipped: this test requires SIGUSR1
t/06_nest.t .................... ok
t/07_optional.t ................ ok
t/08_exit.t .................... ok
t/09_fork.t .................... ok
t/10_oo.t ...................... ok
t/11_net_empty_port.t .......... 3/?
# Failed test 'port is open'
# at t/11_net_empty_port.t line 22.
# Looks like you failed 1 test of 4.
# Failed test 'v6'
t/11_net_empty_port.t .......... 4/? # at t/11_net_empty_port.t line 37.
# Looks like you failed 1 test of 4.
t/11_net_empty_port.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/12_pass_wait_port_options.t .. ok
t/13_undef_port.t .............. ok
Test Summary Report
t/01_simple.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/11_net_empty_port.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=14, Tests=117, 88 wallclock secs ( 0.05 usr + 0.02 sys = 0.06 CPU)
Result: FAIL
Failed 2/14 test programs. 2/117 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
TOKUHIROM/Test-TCP-2.14.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TOKUHIROM/Test-TCP-2.14.tar.gz
Stopping: 'install' failed for 'Test::TCP'.

Alternatives to perl module Mail::CheckUser

I need to validate email addresses but am realizing that the only way I've been able to install Mail::CheckUser is.
cpan -f Mail::CheckUser
I'm using CentOS 7.
I cannot find another perl module that uses SMTP signals to test and report status of an email address.
Do I have to rewrite the module or is there another way?
Here is the output:
$ cpan -t Mail::CheckUser
Loading internal null logger. Install Log::Log4perl for. logging messages
CPAN: Storable loaded ok (v2.20)
Reading '/home/folder/.cpan/Metadata'
Database was generated on Sun, 26 Jul 2015. 01:17:02 GMT
CPAN: LWP::UserAgent loaded ok (v6.13)
CPAN: Time::HiRes loaded ok (v1.9721)
Fetching with LWP:
http://cpan-du.viaverio.com//authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v1.15)
Reading. '/home/folder/.cpan/sources/authors/01mailrc.txt.gz'
CPAN: Compress::Zlib loaded ok (v2.021)
............................................................................DONE
Fetching with LWP:
http://cpan-du.viaverio.com//modules/02packages.details.txt.gz
Reading. '/home/folder/.cpan/sources/modules /02packages.details.txt.gz'
Database was generated on Sun, 11 Oct 2015. 11:53:29 GMT
............................................................................DONE
Fetching with LWP:
http://cpan-du.viaverio.com//modules/03modlist.data.gz
Reading '/home/folder/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /home/ehelpful/.cpan/Metadata
CPAN: Module::CoreList loaded ok (v2.18)
Running test for module 'Mail::CheckUser'
Fetching with LWP:
http://cpan-du.viaverio.com//authors/id/I/IL/ILYAM/Mail-CheckUser-1.21.tar.gzCPAN: Digest::SHA loaded ok (v5.47)
Fetching with LWP:
http://cpan-du.viaverio.com//authors/id/I/IL/ILYAM/CHECKSUMS
Checksum for /home/folder/.cpan/sources/authors/id/I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.58)
Mail-CheckUser-1.21/
Mail-CheckUser-1.21/README
Mail-CheckUser-1.21/CheckUser.pm
Mail-CheckUser-1.21/MANIFEST
Mail-CheckUser-1.21/t/
Mail-CheckUser-1.21/t/timeout.t
Mail-CheckUser-1.21/t/smtp.t
Mail-CheckUser-1.21/t/wildcard.t
Mail-CheckUser-1.21/t/syntax.t
Mail-CheckUser-1.21/t/smtp-taint.t
Mail-CheckUser-1.21/t/check.pl
Mail-CheckUser-1.21/t/dns.t
Mail-CheckUser-1.21/Changes
Mail-CheckUser-1.21/Makefile.PL
Mail-CheckUser-1.21/TODO
Mail-CheckUser-1.21/procmail/
Mail-CheckUser-1.21/procmail/cufilter
Mail-CheckUser-1.21/procmail/.procmailrc
CPAN: CPAN::Meta::Requirements loaded ok (v2.133)
CPAN: CPAN::Meta loaded ok (v2.150001)
Configuring I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz. with Makefile.PL
Checking if your kit is complete...
Looks good
Only one of PREFIX or INSTALL_BASE can be given. Not both.
No 'Makefile' created ILYAM/Mail-CheckUser-1.21.tar.gz
/usr/bin/perl Makefile.PL. PREFIX=/home/folder/perl/usr -- NOT OK
I used another VM with CentOS 6.4 and got the same results because YAML did not install, but I verified that I have the latest version of YAML:
sudo cpan Mail::CheckUser
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 12 Oct 2015 16:41:02 GMT
Running install for module 'Mail::CheckUser'
CPAN: YAML loaded ok (v0.70)
Running make for I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /root/.cpan/sources/authors/id/I/IL/ILYAM/Mail-CheckUser- 1.21.tar.gz ok
Mail-CheckUser-1.21/
Mail-CheckUser-1.21/README
Mail-CheckUser-1.21/CheckUser.pm
Mail-CheckUser-1.21/MANIFEST
Mail-CheckUser-1.21/t/
Mail-CheckUser-1.21/t/timeout.t
Mail-CheckUser-1.21/t/smtp.t
Mail-CheckUser-1.21/t/wildcard.t
Mail-CheckUser-1.21/t/syntax.t
Mail-CheckUser-1.21/t/smtp-taint.t
Mail-CheckUser-1.21/t/check.pl
Mail-CheckUser-1.21/t/dns.t
Mail-CheckUser-1.21/Changes
Mail-CheckUser-1.21/Makefile.PL
Mail-CheckUser-1.21/TODO
Mail-CheckUser-1.21/procmail/
Mail-CheckUser-1.21/procmail/cufilter
Mail-CheckUser-1.21/procmail/.procmailrc
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::CheckUser
cp CheckUser.pm blib/lib/Mail/CheckUser.pm
cp procmail/cufilter blib/script/cufilter
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cufilter
Manifying blib/man1/cufilter.1
Manifying blib/man3/Mail::CheckUser.3pm
ILYAM/Mail-CheckUser-1.21.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/dns.t ......... ok
t/smtp-taint.t .. No subtests run
t/smtp.t ........ 4/4 # Failed test 4 in t/check.pl at line 20 fail #4
# t/check.pl line 20 is: ok($ok);
t/smtp.t ........ Failed 1/4 subtests
t/syntax.t ...... ok
t/timeout.t ..... ok
t/wildcard.t .... 1/13 # Failed test 9 in t/check.pl at line 20 fail #9
# t/check.pl line 20 is: ok($ok);
# Failed test 12 in t/check.pl at line 20 fail #12
t/wildcard.t .... Failed 2/13 subtests
Test Summary Report
-------------------
t/smtp-taint.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t/smtp.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
t/wildcard.t (Wstat: 0 Tests: 13 Failed: 2)
Failed tests: 9, 12
Files=6, Tests=59, 146 wallclock secs ( 0.03 usr 0.03 sys + 0.34 cusr 0.08 csys = 0.48 CPU)
Result: FAIL
Failed 3/6 test programs. 3/59 subtests failed.
make: *** [test_dynamic] Error 255
ILYAM/Mail-CheckUser-1.21.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ILYAM/Mail-CheckUser-1.21.tar.gz
Running make install
make test had returned bad status, won't install without force
[root#ip-ccccccc emails]# cpan -t Mail::CheckUser
CPAN: Storable loaded ok (v2.20)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 12 Oct 2015 16:41:02 GMT
Running test for module 'Mail::CheckUser'
CPAN: YAML loaded ok (v0.70)
Running make for I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /root/.cpan/sources/authors/id/I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz ok
Mail-CheckUser-1.21/
Mail-CheckUser-1.21/README
Mail-CheckUser-1.21/CheckUser.pm
Mail-CheckUser-1.21/MANIFEST
Mail-CheckUser-1.21/t/
Mail-CheckUser-1.21/t/timeout.t
Mail-CheckUser-1.21/t/smtp.t
Mail-CheckUser-1.21/t/wildcard.t
Mail-CheckUser-1.21/t/syntax.t
Mail-CheckUser-1.21/t/smtp-taint.t
Mail-CheckUser-1.21/t/check.pl
Mail-CheckUser-1.21/t/dns.t
Mail-CheckUser-1.21/Changes
Mail-CheckUser-1.21/Makefile.PL
Mail-CheckUser-1.21/TODO
Mail-CheckUser-1.21/procmail/
Mail-CheckUser-1.21/procmail/cufilter
Mail-CheckUser-1.21/procmail/.procmailrc
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build I/IL/ILYAM/Mail-CheckUser-1.21.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::CheckUser
cp CheckUser.pm blib/lib/Mail/CheckUser.pm
cp procmail/cufilter blib/script/cufilter
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cufilter
Manifying blib/man1/cufilter.1
Manifying blib/man3/Mail::CheckUser.3pm
ILYAM/Mail-CheckUser-1.21.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/dns.t ......... ok
t/smtp-taint.t .. No subtests run
t/smtp.t ........ 4/4 # Failed test 4 in t/check.pl at line 20 fail #4
# t/check.pl line 20 is: ok($ok);
t/smtp.t ........ Failed 1/4 subtests
t/syntax.t ...... ok
t/timeout.t ..... ok
t/wildcard.t .... 1/13 # Failed test 9 in t/check.pl at line 20 fail #9
# t/check.pl line 20 is: ok($ok);
# Failed test 12 in t/check.pl at line 20 fail #12
t/wildcard.t .... Failed 2/13 subtests
Test Summary Report
-------------------
t/smtp-taint.t (Wstat: 0 Tests: 0 Failed: 0)
Parse errors: No plan found in TAP output
t/smtp.t (Wstat: 0 Tests: 4 Failed: 1)
Failed test: 4
t/wildcard.t (Wstat: 0 Tests: 13 Failed: 2)
Failed tests: 9, 12
Files=6, Tests=59, 173 wallclock secs ( 0.04 usr 0.03 sys + 0.34 cusr 0.07 csys = 0.48 CPU)
Result: FAIL
Failed 3/6 test programs. 3/59 subtests failed.
make: *** [test_dynamic] Error 255
ILYAM/Mail-CheckUser-1.21.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ILYAM/Mail-CheckUser-1.21.tar.gz
Mail::CheckUser hasn't been updated for twelve years and its CPAN testers page is a sea of red. I would suggest that this module is best avoided.
Most people seem to use Email::Valid for these kinds of checks. Have you looked at that?

Trouble installing Time::Out Module in Perl

I'm trying to install Time::Out.
The error looks to be coming from the tar file. Do I need to install anything more? I get the following:
install Time::Out
Reading 'C:\Perl\cpan\Metadata'
Database was generated on Thu, 05 Jun 2014 08:53:02 GMT
Running install for module 'Time::Out'
Checksum for C:\Perl\cpan\sources\authors\id\P\PA\PATL\Time-Out-0.11.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
............................................................................DONE
Time-Out-0.11/
Time-Out-0.11/MANIFEST
Time-Out-0.11/t/
Time-Out-0.11/t/01_init.t
Time-Out-0.11/t/pod.t
Time-Out-0.11/t/03_exceptions.t
Time-Out-0.11/t/02_usage.t
Time-Out-0.11/Out.pod
Time-Out-0.11/README
Time-Out-0.11/Out.pm
Time-Out-0.11/META.yml
Time-Out-0.11/Makefile.PL
Time-Out-0.11/Changes
Configuring P/PA/PATL/Time-Out-0.11.tar.gz with Makefile.PL
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Time::Out
Writing MYMETA.yml and MYMETA.json
PATL/Time-Out-0.11.tar.gz
C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- OK
Running make for P/PA/PATL/Time-Out-0.11.tar.gz
cp Out.pm blib\lib\Time\Out.pm
cp Out.pod blib\lib\Time\Out.pod
PATL/Time-Out-0.11.tar.gz
C:\Perl\site\bin\dmake.exe -- OK
Running make test
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Te
st::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_init.t ........ ok
t/02_usage.t .......
The following tests use sleep() so please be patient...
t/02_usage.t ....... 10/15 # Failed test 11 in t/02_usage.t at line 97
# t/02_usage.t line 97 is: ok($# eq 'timeout') ;
t/02_usage.t ....... 11/15 # Failed test 12 in t/02_usage.t at line 108
# t/02_usage.t line 108 is: ok($# eq 'timeout') ;
# Failed test 13 in t/02_usage.t at line 109
# t/02_usage.t line 109 is: ok(!$seen) ;
t/02_usage.t ....... Failed 3/15 subtests
(less 1 skipped subtest: 11 okay)
t/03_exceptions.t .. ok
t/pod.t ............ skipped: Test::Pod 1.00 required for testing POD
Test Summary Report
-------------------
t/02_usage.t (Wstat: 0 Tests: 15 Failed: 3)
Failed tests: 11-13
Files=4, Tests=19, 23 wallclock secs ( 0.09 usr + 0.05 sys = 0.14 CPU)
Result: FAIL
Failed 1/4 test programs. 3/19 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
PATL/Time-Out-0.11.tar.gz
C:\Perl\site\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PATL/Time-Out-0.11.tar.gz
Failed during this command:
PATL/Time-Out-0.11.tar.gz : make_test NO
Is there another module I can use similar to the Time::Out? Besides alarm?
Per the Time::Out documentation, it does not work for blocking IO on windows. This means - at a minimum - that the tests will fail. You can skip the tests from the cpan shell using force install Time::Out, but this may mean that it doesn't work for your purposes.