-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making Paws goes into infinite loop on Windows / Strawberry Perl #441
Comments
Neither; it is an installation issue. Ref::Util::XS installation completed successfully, but CPAN.pm does not then detect it to satisfy the dependency of Ref::Util. You may wish to contact a general Perl support channel to debug why the installation is not recognized; the first thing I would try is to install another module and see if CPAN.pm then recognizes it's installed, or if it is specifically an issue recognizing Ref::Util::XS; I suspect it is a more general issue in your case. Another option is to try installing with cpanm, which I believe strawberry perl includes or can otherwise be downloaded in a single script from https://cpanmin.us. |
I started over with a fresh install of Strawberry Perl and used cpanm to install Paws but it fails in a different place. ` C:\MOD>cpanm Test::Timer Any thoughts? |
Would need to see the build.log to confirm what is happening to Module::CPANTS::Analyse. Maybe you can try installing Test::Timer with no tests... |
Installed Test::Timer without test, but Paws failed. `C:\MOD>cpanm -n Test::Timer C:\MOD>cpanm Paws The only other modules that I've installed were the following. FWIW I only need Paws for SecretsManager, so if there's a way to just install a subset for this, that would be great. |
Installing Paws by parts has been on the TODO list for quite some time, but needs some work still. Thanks for the suggestion, though. Reviewing the build.log, the install fails because the |
I'm getting closer - Paws installed without tests. I can access SecretsManager but it's throwing alerts when I do (script continues). Can't locate Lexical/Sub.pm in @inc (you may need to install the Lexical::Sub module) (@inc entries checked: . C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at (eval 347) line 1.
I don't know how to handle these: Can't locate object method "tid" via package "threads" at C:/Strawberry/perl/lib/XSLoader.pm line 112. Can't locate auto/Net/SSLeay/DTLS1_2_VER.al in @inc (@inc entries checked: . C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Strawberry/perl/vendor/lib/IO/Socket/SSL.pm line 3627. Can't locate auto/Net/SSLeay/DTLS1_VERSI.al in @inc (@inc entries checked: . C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Strawberry/perl/vendor/lib/IO/Socket/SSL.pm line 3627. Your vendor has not defined SSLeay macro SSL2_MT_ERROR at C:/Strawberry/perl/vendor/lib/IO/Socket/SSL.pm line 3627. Can't locate auto/Net/SSLeay/DTLS1_BAD_V.al in @inc (@inc entries checked: . C:/Strawberry/perl/site/lib/MSWin32-x64-multi-thread C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib) at C:/Strawberry/perl/vendor/lib/IO/Socket/SSL.pm line 3627. |
This looks like a problem with OpenSSL / IO::Socket::SSL on your system :( Paws uses HTTP::Tiny, which relies on IO::Socket::SSL to speak HTTPS (https://metacpan.org/pod/HTTP::Tiny). Can you build a small script that uses HTTP::Tiny to visit any https website? I understand that this should be failing for you. If you get it to work (reinstalling IO::Socket::SSL?) Paws should be happy. On the other hand, you are using Perl 5.40. I know that older Strawberry Perls had worked (can't remember exact versions). Maybe if you try with an older Strawberry Perl you have better luck...) |
I'm using the latest version of Strawberry Perl on Windows 2019.
When making Paws, it gets hung up on Ref::Util::XS. I can't tell if this is a Paws problems or a Ref::Util::XS problem.
The text was updated successfully, but these errors were encountered: