http://www.perlmonks.org?node_id=11134428


in reply to Re: Unable to install module IO::Async::Loop on windows 10 strawberry Perl
in thread Unable to install module IO::Async::Loop on windows 10 strawberry Perl

I tried upgrading Socket by cpan> install Socket command. It did upgrade Socket sorry I forgot to capture console output. But invain, the required module is not installed.
  • Comment on Re^2: Unable to install module IO::Async::Loop on windows 10 strawberry Perl

Replies are listed 'Best First'.
Re^3: Unable to install module IO::Async::Loop on windows 10 strawberry Perl
by vr (Curate) on Jun 29, 2021 at 10:14 UTC

    I can confirm, that, using "fresh/clean" Strawberry Perl 5.28.0.1 -- i.e. your version -- the installation of IO::Async fails. That's not the case with Strawberry Perl 5.28.2.1 though, where IO::Async installs OK.

    To follow AM's advice, upgrading Socket issuing cpanm Socket under 5.28.0.1 did fix the issue.

    I see, however, that

    t\70future-io.t .............. skipped: Future::IO is not available

    in my case, but not in yours. How come this distribution was installed at your side? It's not required for IO::Async (nor Future, etc.) and its pod says it can be problematic with Win32. I'd suggest to uninstall it, or at least to backup/rename ImplBase.pm, to allow "clean" (i.e. unenforced) IO::Async installation.

      It worked. Thanks!!! Actually when I was initially installing one of the WebSocket modules, the module Future::IO was marked as a dependency which was not being resolved by CPAN installation process. I manually installed Future::IO. Upon your advice I uninstalled Future::IO via cpanm and then installed IO::Async::Loop which worked.

      So it comes down to four things: First, Socket was to be upgraded. Second, Future::IO was unnecessary installation. Third, no bug in tests. Fourth, no problem with Perl distribution and windows 10 platform. :)

      It worked Thanks!!!. Actually I installed manually the Future::IO module as it was marked as a dependency of a websocket module and was not being resolved by CPAN process. I uninstalled it via CPANM and then reinstalled IO::Async::Loop which worked.

      So it comes down to four things:

      1. Socket wa sto be upgraded.
      2. Future::IO was unnecessary.
      3. No bug in tests plans.
      4. No problem with Perl distribution and windows platform.
      Probably force installed also did the trick.