Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Unable to install module IO::Async::Loop on windows 10 strawberry Perl

by programmingzeal (Acolyte)
on Jun 29, 2021 at 08:15 UTC ( #11134428=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-10-17 07:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (71 votes). Check out past polls.

    Notices?