Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Failed to build POE::Compondent::SSLify

by neilwatson (Priest)
on Nov 03, 2016 at 16:30 UTC ( #1175237=perlquestion: print w/replies, xml ) Need Help??

neilwatson has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, I'm trying to install POE::Component::SSLify via cpanm, but it fails:

# Failed test 'SERVER: SSLify_Options Can't locate auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains: /root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/arch /root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib /usr/local/lib/perl5/site_perl/5.24.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.24.0 /usr/local/lib/perl5/5.24.0/x86_ +64-linux /usr/local/lib/perl5/5.24.0 .) at /root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE +/Component/SSLify.pm line 362. # ' # at t/upgrade.t line 59. # Failed test 'SERVER: Server_SSLify Please do SSLify_Options() firs +t ( or pass in a $ctx object ) at /root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE +/Component/SSLify.pm line 247. # ' # at t/upgrade.t line 61. Can't use an undefined value as a symbol reference at /root/.cpanm/work/1478187239.6/POE-Component-SSLify-1.011/blib/lib/POE +/Component/SSLify.pm line 446. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 22 just after 5. t/upgrade.t ...................

I downloaded the source an tried some manual tests:

neil@luna:~/src/neil/perl-poe-sslify$ prove t/renegotiate_client_pings +.t t/renegotiate_client_pings.t .. 1/? # Failed test 'SERVER: SSLify_Options Can't locate auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains: /home/neil/perl5/lib/perl5/5.24.1/x86_64-linux-gnu-thread-multi /home/neil/perl5/lib/perl5/5.24.1 /home/neil/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/neil/perl5/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24 +.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/POE/Component/SSLify.pm line 362. # ' # at t/renegotiate_client_pings.t line 48. # Failed test 'SERVER: Server_SSLify Please do SSLify_Options() firs +t ( or pass in a $ctx object ) at /usr/share/perl5/POE/Component/SSLify.pm li +ne 247. # ' # at t/renegotiate_client_pings.t line 51. # Failed test 'CLIENT: SSLify_ContextCreate Can't locate auto/Net/SSLeay/CTX_v3_new.al in @INC (@INC contains: /home/neil/perl5/lib/perl5/5.24.1/x86_64-linux-gnu-thread-multi /home/neil/perl5/lib/perl5/5.24.1 /home/neil/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/neil/perl5/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24 +.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/POE/Component/SSLify.pm line 362. # ' # at t/renegotiate_client_pings.t line 111. Can't use an undefined value as a symbol reference at /usr/share/perl5/POE/Component/SSLify.pm line 446. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 22 just after 7. t/renegotiate_client_pings.t .. Dubious, test returned 22 (wstat 5632, + 0x1600) Failed 3/7 subtests Test Summary Report ------------------- t/renegotiate_client_pings.t (Wstat: 5632 Tests: 7 Failed: 3) Failed tests: 1-3 Non-zero exit status: 22 Parse errors: No plan found in TAP output Files=1, Tests=7, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.10 cusr + 0.00 csys = 0.11 CPU) Result: FAIL

Net::SSLeay is installed:

$ perl -e 'use Net::SSLeay'; echo $? 0

Is this a bug?

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re: Failed to build POE::Compondent::SSLify
by kcott (Bishop) on Nov 03, 2016 at 20:24 UTC
Re: Failed to build POE::Compondent::SSLify
by haukex (Chancellor) on Nov 03, 2016 at 19:28 UTC

    Hi neilwatson,

    I don't have a definite answer, just some thoughts: have you checked if the file Perl is looking for (auto/Net/SSLeay/CTX_v3_new.al) exists somewhere in your Perl installation? Have you tried upgrading your Net::SSLeay?

    Hope this helps,
    -- Hauke D

      Tried both. The .al file does not exist and installing net::ssleay before hand didn't help.

      Neil Watson
      watson-wilson.ca

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1175237]
Approved by davies
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2019-10-14 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?