Per the advice given to me in a previous thread (https://perlmonks.org/?node_id=11123667) in which I asked for help trying to install the module IO-Async-0.77.tar.gz, a prerequisite to WWW::Mechanize::Chrome, in cygwin, I tried to install WWW::Mechanize::Chrome in Strawberry Perl but am still encountering the same failure with IO-Async-0.77.tar.gz. Here is the logfile:
Microsoft Windows [Version 10.0.19041.685]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cpan WWW::Mechanize::Chrome
Loading internal logger. Log::Log4perl recommended for better logging
CPAN: CPAN::SQLite loaded ok (v0.219)
Database was generated on Sun, 03 Jan 2021 22:38:41 GMT
Running install for module 'WWW::Mechanize::Chrome'
CPAN: Digest::SHA loaded ok (v6.02)
CPAN: Compress::Zlib loaded ok (v2.096)
Checksum for C:\STRAWB~1\cpan\sources\authors\id\C\CO\CORION\WWW-Mecha
+nize-Chrome-0.65.tar.gz ok
CPAN: Archive::Tar loaded ok (v2.38)
CPAN: YAML::XS loaded ok (v0.82)
CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
CPAN: CPAN::Meta loaded ok (v2.150010)
CPAN: Module::CoreList loaded ok (v5.20200717)
Configuring C/CO/CORION/WWW-Mechanize-Chrome-0.65.tar.gz with Makefile
+.PL
Can't locate PerlX/Maybe.pm in @INC (you may need to install the PerlX
+::Maybe module) (@INC contains: C:/Strawberry/perl/site/lib C:/Strawb
+erry/perl/vendor/lib C:/Strawberry/perl/lib . lib) at ./examples/../l
+ib/WWW/Mechanize/Chrome.pm line 7.
BEGIN failed--compilation aborted at ./examples/../lib/WWW/Mechanize/C
+hrome.pm line 7.
Compilation failed in require at examples/gen_examples_pod.pl line 32.
Checking if your kit is complete...
Looks good
Warning: prerequisite IO::Async 0 not found.
Warning: prerequisite Image::Info 0 not found.
Warning: prerequisite Log::Log4perl 0 not found.
Warning: prerequisite Net::Async::WebSocket::Client 0.12 not found.
Warning: prerequisite Object::Import 0 not found.
Warning: prerequisite PerlX::Maybe 0 not found.
Warning: prerequisite Test::Memory::Cycle 0 not found.
Warning: prerequisite URI::ws 0 not found.
Warning: prerequisite Win32::File::VersionInfo 0 not found.
Generating a gmake-style Makefile
Writing Makefile for WWW::Mechanize::Chrome
Writing MYMETA.yml and MYMETA.json
CORION/WWW-Mechanize-Chrome-0.65.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for C/CO/CORION/WWW-Mechanize-Chrome-0.65.tar.gz
---- Unsatisfied dependencies detected during ----
---- CORION/WWW-Mechanize-Chrome-0.65.tar.gz ----
IO::Async [requires]
Image::Info [build_requires]
Log::Log4perl [requires]
Net::Async::WebSocket::Client [requires]
Object::Import [requires]
PerlX::Maybe [requires]
Test::Memory::Cycle [build_requires]
URI::ws [requires]
Win32::File::VersionInfo [requires]
Running install for module 'IO::Async'
Checksum for C:\STRAWB~1\cpan\sources\authors\id\P\PE\PEVANS\IO-Async-
+0.77.tar.gz ok
Configuring P/PE/PEVANS/IO-Async-0.77.tar.gz with Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'IO-Async' version '0.77'
PEVANS/IO-Async-0.77.tar.gz
C:\Strawberry\perl\bin\perl.exe Build.PL -- OK
Running Build for P/PE/PEVANS/IO-Async-0.77.tar.gz
Building IO-Async
PEVANS/IO-Async-0.77.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test for PEVANS/IO-Async-0.77.tar.gz
t\00use.t .................... ok
t\01timequeue.t .............. ok
t\02os.t ..................... ok
t\03loop-magic.t ............. ok
t\04notifier.t ............... ok
t\05notifier-loop.t .......... ok
t\06notifier-mixin.t ......... ok
t\07notifier-future.t ........ ok
t\10loop-poll-io.t ........... ok
t\10loop-select-io.t ......... ok
t\11loop-poll-timer.t ........ ok
t\11loop-select-timer.t ...... ok
t\12loop-poll-signal.t ....... skipped: This OS does not have signals
t\12loop-select-signal.t ..... skipped: This OS does not have signals
t\13loop-poll-idle.t ......... ok
t\13loop-select-idle.t ....... ok
t\14loop-poll-process.t ...... ok
t\14loop-select-process.t .... ok
t\15loop-poll-control.t ...... ok
t\15loop-select-control.t .... ok
t\16loop-poll-metrics.t ...... ok
t\16loop-select-metrics.t .... ok
t\18loop-poll-legacy.t ....... ok
t\18loop-select-legacy.t ..... ok
t\19loop-future.t ............ ok
t\19test.t ................... ok
t\20handle.t ................. ok
t\21stream-1read.t ........... ok
t\21stream-2write.t .......... ok
t\21stream-3split.t .......... ok
t\21stream-4encoding.t ....... ok
t\22timer-absolute.t ......... ok
t\22timer-countdown.t ........ ok
t\22timer-periodic.t ......... ok
t\23signal.t ................. skipped: This OS does not have signals
t\24listener.t ............... ok
t\25socket.t ................. ok
t\26pid.t .................... ok
t\27file.t ................... ok
t\28filestream.t ............. ok
t\30loop-fork.t .............. skipped: POSIX fork() is not available
t\31loop-spawnchild.t ........ skipped: POSIX fork() is not available
t\32loop-spawnchild-setup.t .. skipped: POSIX fork() is not available
t\33process.t ................ skipped: POSIX fork() is not available
t\34process-handles.t ........ skipped: POSIX fork() is not available
t\35loop-openprocess.t ....... skipped: POSIX fork() is not available
t\36loop-runchild.t .......... skipped: POSIX fork() is not available
t\37loop-child-root.t ........ skipped: POSIX fork() is not available
t\38loop-thread.t ............ ok
t\39loop-runproccess.t ....... skipped: POSIX fork() is not available
t\40channel.t ................ ok
t\41routine.t ................ ok
t\42function.t ............... ok
t\50resolver.t ............... 1/?
# Failed test '->failure [3] gives EAI_NONAME or EAI_NODATA'
# at t\50resolver.t line 342.
# $errno is 11002
# Looks like you failed 1 test of 35.
t\50resolver.t ............... Dubious, test returned 1 (wstat 256, 0x
+100)
Failed 1/35 subtests
(less 5 skipped subtests: 29 okay)
t\51loop-connect.t ........... ok
t\52loop-listen.t ............ ok
t\53loop-extend.t ............ ok
t\60protocol.t ............... ok
t\61protocol-stream.t ........ ok
t\62protocol-linestream.t .... ok
t\63handle-connect.t ......... ok
t\64handle-bind.t ............ ok
t\70future-io.t .............. skipped: Future::IO is not available
t\99pod.t .................... ok
Test Summary Report
-------------------
t\50resolver.t (Wstat: 256 Tests: 35 Failed: 1)
Failed test: 28
Non-zero exit status: 1
Files=64, Tests=1249, 120 wallclock secs ( 0.23 usr + 0.12 sys = 0.3
+6 CPU)
Result: FAIL
Failed 1/64 test programs. 1/1249 subtests failed.
PEVANS/IO-Async-0.77.tar.gz
C:\Strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, t
+ry:
reports PEVANS/IO-Async-0.77.tar.gz
Stopping: 'install' failed for 'IO::Async'.
The error section appears to be:
# Looks like you failed 1 test of 35.
t\50resolver.t ............... Dubious, test returned 1 (wstat 256, 0x
+100)
Failed 1/35 subtests
How do I fix this? A poster in my other thread said they had successfully installed the IO-Async-0.77.tar.gz module under Strawberry Perl. Should I just forward this output to the module's author? I checked the module's test results and I don't see Strawberry Perl represented (unless mswin32 is code for Strawberry Perl): http://matrix.cpantesters.org/?dist=IO-Async+0.77