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?
Related
I am using Strawberry Perl 5.28 version and end up getting issues while installing DBD::JDBC module .
Hence the make/gmake , make test,gmake test is consistently failing even if I download the DBC::JDBC module and run perl Makefile.PL . I already have JDK 8 and JRE installed.
Any help would be appreciated .
C:\Users>cpan DBD::JDBC DBI
Loading internal logger. Log::Log4perl recommended for better logging
CPAN: CPAN::SQLite loaded ok (v0.217)
Database was generated on Thu, 20 May 2021 14:53:47 GMT
Running install for module 'DBD::JDBC'
CPAN: Digest::SHA loaded ok (v6.02)
CPAN: Compress::Zlib loaded ok (v2.086)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\V\VI\VIZDOM\DBD-JDBC-0.71.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.32)
CPAN: YAML::XS loaded ok (v0.77)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: CPAN::Meta loaded ok (v2.150010)
Configuring V/VI/VIZDOM/DBD-JDBC-0.71.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Using DBI 1.643 (for perl 5.028002 on MSWin32-x64-multi-thread) installed in C:/strawberry/perl/site/lib/auto/DBI/
Generating a gmake-style Makefile
Writing Makefile for DBD::JDBC
Writing MYMETA.yml and MYMETA.json
VIZDOM/DBD-JDBC-0.71.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for V/VI/VIZDOM/DBD-JDBC-0.71.tar.gz
CPAN: Module::CoreList loaded ok (v5.20190420)
cp JDBC.pod blib\lib\DBD\JDBC.pod
cp lib/Bundle/DBD/JDBC.pm blib\lib\Bundle\DBD\JDBC.pm
cp JDBC.pm blib\lib\DBD\JDBC.pm
VIZDOM/DBD-JDBC-0.71.tar.gz
C:\STRAWB~1\c\bin\gmake.exe -- OK
Running make test for VIZDOM/DBD-JDBC-0.71.tar.gz
set CLASSPATH=dbd_jdbc.jar;t/hsqldb/hsqldb-1.8.0.2.jar;t/hsqldb/log4j-1.2.13.jar;C:\Users\Downloads\DBD-JDBC-0.71.tar\DBD-JDBC-0.71\log4j.properties;C:\Users\Downloads\SimbaSparkJDBC4-2.6.16.1020\SparkJDBC4.jar;
"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/01_env.t ...... ok
t/02_connect.t .. 1/5 DBD::JDBC::dr connect warning: No suitable driver found for jdbc:hsqldb:file:t/hsqldb/testdb at C:/strawberry/perl/site/lib/DBI.pm line 679.
# Failed test 'connected'
# at t/02_connect.t line 40.
t/02_connect.t .. 3/5 # Connection error: No suitable driver found for jdbc:hsqldb:file:t/hsqldb/testdb
# Make sure your CLASSPATH includes your JDBC driver.
# Looks like you failed 1 test of 5.
t/02_connect.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
(less 2 skipped subtests: 2 okay)
t/03_hsqldb.t ... 1/22 DBD::JDBC::dr connect warning: No suitable driver found for jdbc:hsqldb:file:t/hsqldb/testdb at C:/strawberry/perl/site/lib/DBI.pm line 679.
# Failed test 'connected'
# at t/03_hsqldb.t line 34.
t/03_hsqldb.t ... 2/22 # Connection error: No suitable driver found for jdbc:hsqldb:file:t/hsqldb/testdb
# Looks like your test exited with 1 just after 22.
t/03_hsqldb.t ... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/22 subtests
(less 20 skipped subtests: 1 okay)
t/basis.t ....... skipped: BASIS URL not defined
t/oracle.t ...... skipped: Oracle URL not defined
Test Summary Report
-------------------
t/02_connect.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 3
Non-zero exit status: 1
t/03_hsqldb.t (Wstat: 256 Tests: 22 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=5, Tests=32, 7 wallclock secs ( 0.05 usr + 0.02 sys = 0.06 CPU)
Result: FAIL
Failed 2/5 test programs. 2/32 subtests failed.
gmake: *** [Makefile:780: test_dynamic] Error 255
VIZDOM/DBD-JDBC-0.71.tar.gz
C:\STRAWB~1\c\bin\gmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports VIZDOM/DBD-JDBC-0.71.tar.gz
Stopping: 'install' failed for 'DBD::JDBC'.
DBI is up to date (1.643).
After lot of fight I have found easy way to resolve this problem to install DBD::JDBC is to download this module as tar file : DBD-JDBC-0.71.tar from CPAN and navigate to path where Strawberry Perl is installed like C:\Strawberry\perl\vendor\lib\DBD and move all files from extracted tar to here . then JDBC should start working .
I failed to install the module through cpan Font::TTF.
I'm on strawberry perl 5.24, windows 8 32bit.
C:\Users\user>cpan
Loading internal null logger. Install Log::Log4perl for logging messages
There seems to be running another CPAN process (pid 5860). Contacting...
Other job not responding. Shall I overwrite the lockfile 'C:\STRAWB~1\cpan\.lock
'? (Y/n) [y]
cpan shell -- CPAN exploration and modules installation (v2.11)
Enter 'h' for help.
cpan> o conf build_dir_reuse 0
build_dir_reuse [0]
commit: wrote 'C:\Strawberry\perl\lib/CPAN/Config.pm'
cpan> o conf commit
commit: wrote 'C:\Strawberry\perl\lib/CPAN/Config.pm'
cpan> exit
Lockfile removed.
C:\Users\user>cpan Font::TTF
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: CPAN::SQLite loaded ok (v0.211)
Database was generated on Fri, 15 Jul 2016 06:47:48 GMT
Running install for module 'Font::TTF'
CPAN: Digest::SHA loaded ok (v5.95)
CPAN: Compress::Zlib loaded ok (v2.069)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\M\MH\MHOSKEN\Font-TTF- 1.05.tar.
gz ok
CPAN: Archive::Tar loaded ok (v2.06)
CPAN: File::Temp loaded ok (v0.2304)
CPAN: YAML::XS loaded ok (v0.62)
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.20160507)
Configuring M/MH/MHOSKEN/Font-TTF-1.05.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Font::TTF
Writing MYMETA.yml and MYMETA.json
MHOSKEN/Font-TTF-1.05.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for M/MH/MHOSKEN/Font-TTF-1.05.tar.gz
MHOSKEN/Font-TTF-1.05.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/tags.t ..... Can't locate Font/TTF/OTTags.pm in #INC (you may need to install
the Font::TTF::OTTags module) (#INC contains: C:\STRAWB~1\cpan\build\Font-TTF-1.
05-8DWSyh\blib\lib C:\STRAWB~1\cpan\build\Font-TTF-1.05-8DWSyh\blib\arch C:/Stra
wberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib .) at
t/tags.t line 5.
BEGIN failed--compilation aborted at t/tags.t line 5.
t/tags.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/6 subtests
t/ttfcopy.t .. Can't locate Font/TTF/Font.pm in #INC (you may need to install th
e Font::TTF::Font module) (#INC contains: C:\STRAWB~1\cpan\build\Font-TTF- 1.05-8
DWSyh\blib\lib C:\STRAWB~1\cpan\build\Font-TTF-1.05-8DWSyh\blib\arch C:/Strawber
ry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib .) at t/tt
fcopy.t line 5.
BEGIN failed--compilation aborted at t/ttfcopy.t line 5.
t/ttfcopy.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/4 subtests
Test Summary Report
-------------------
t/tags.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 6 tests but ran 0.
t/ttfcopy.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 4 tests but ran 0.
Files=2, Tests=0, 1 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
Result: FAIL
Failed 2/2 test programs. 0/0 subtests failed.
dmake.exe: Error code 130, while making 'test_dynamic'
MHOSKEN/Font-TTF-1.05.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 MHOSKEN/Font-TTF-1.05.tar.gz
Stopping: 'install' failed for 'Font::TTF'.
C:\Users\user>
Jiang Bo, I was also getting the same problem with the latest Strawberry Perl version (5.24.0.1). I downgraded to 5.20.3.3 / 64bit and cpan installations work fine there.
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'.
I am trying to install Win32::Watir on to a 64 bit machine via strawberry perl. I'm getting an error. This is a windows automation tool - so it should have be to be able to be installed on a windows machine via strawberry perl.
reports SHIMI/Win32-Watir-0.06-withoutworldwritebles.tar.gz
cpan> install Win32::Watir
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.data.gz
Database was generated on Wed, 29 Jul 2015 22:17:00 GMT
Updating database file ...
Done!
Running install for module 'Win32::Watir'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/S/SH/SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/S/SH/SHIMI/CHECKSUMS
Checksum for C:\UBS\DEV\STRAWB~1\cpan\sources\authors\id\S\SH\SHIMI\Win32-Watir-0.06-withoutworldwriteables.tar.gz ok
Scanning cache C:\UBS\DEV\STRAWB~1\cpan\build for sizes
............................................................................DONE
Configuring S/SH/SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Win32::Watir
Writing MYMETA.yml and MYMETA.json
SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
C:\UBS\DEV\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for S/SH/SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
cp lib/Win32/Watir/Table.pm blib\lib\Win32\Watir\Table.pm
cp lib/Win32/Watir/AutoItX3.dll blib\lib\Win32\Watir\AutoItX3.dll
cp lib/Win32/Watir.pm blib\lib\Win32\Watir.pm
cp lib/Win32/Watir/AutoItX.chm blib\lib\Win32\Watir\AutoItX.chm
cp lib/Win32/Watir/AutoItX3_x64.dll blib\lib\Win32\Watir\AutoItX3_x64.dll
cp lib/Win32/Watir/Element.pm blib\lib\Win32\Watir\Element.pm
SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
C:\UBS\DEV\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
"C:\UBS\DEV\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest: :Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.tt/01.IE_default.t .. 1/? DEBUG:_check_os_name(): Win7
Undefined subroutine &Win32::MSgBox called at
C:\UBS\DEV\STRAWB~\cpan\build\Win32-Watir-0.062RxegT\blib\lib/Win32/Watir.pm line 1370.
# Looks like your test exited with 255 just after 1.
t/01.IE_default.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
All 1 subtests passed
Test Summary Report
-------------------
t/01.IE_default.t (Wstat: 65280 Tests: 1 Failed: 0)
Non-zero exit status: 255
Files=1, Tests=1, 2 wallclock secs ( 0.02 usr + 0.11 sys = 0.13 CPU)
Result: FAIL
Failed 1/1 test programs. 0/1 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
C:\UBS\DEV\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz
Stopping: 'install' failed for 'Win32::Watir'.
Failed during this command:
SHIMI/Win32-Watir-0.06-withoutworldwriteables.tar.gz: make_test NO
cpan> sudo install Win32::Watir
Unknown shell command 'sudo'. Type ? for help.
cpan>
The module calls Win32::MSgBox when it should have called Win32::MsgBox.
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.