Downloaded and built Perl 5.14.2 on Solaris SPARC v10 system. Trying to install the REST::Client module, which depends on LWP::Protocol::https. This LWP::Protocol::https module fails to install with these error messages:

Installing LWP::Protocol::https (6.04) Running [/usr/local/Perl-5.14/bin/perl /usr/local/Perl-5.14/bin/cpanp- +run-perl /home/hardesty/.cpanplus/5.14.2/build/LWP-Protocol-https-6.0 +4/Makefile.PL]... Writing Makefile for LWP::Protocol::https Writing MYMETA.yml Running [/usr/ccs/bin/make test]... PERL_DL_NONLAZY=1 /usr/local/Perl-5.14/bin/perl "-MExtUtils::Command:: +MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test at t/apache.t line 15. # Failed test at t/apache.t line 16. # 'Can't connect to www.apache.org:443 (certificate +verify failed) # # LWP::Protocol::https::Socket: SSL connect attempt failed with unknow +n error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certi +ficate verify failed at /usr/local/Perl-5.14/lib/perl5/site_perl/5.14 +.2/LWP/Protocol/http.pm line 51. # ' # doesn't match '(?^:Apache Software Foundation)' # Looks like you failed 2 tests of 4. t/apache.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests Test Summary Report ------------------- t/apache.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=1, Tests=4, 3 wallclock secs ( 0.12 usr 0.06 sys + 0.94 cusr + 0.18 csys = 1.30 CPU) Result: FAIL Failed 1/1 test programs. 2/4 subtests failed. *** Error code 2 make: Fatal error: Command failed for target `test_dynamic' [ERROR] MAKE TEST failed: PERL_DL_NONLAZY=1 /usr/local/Perl-5.14/bin/p +erl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib +/arch')" t/*.t # Failed test at t/apache.t line 15. # Failed test at t/apache.t line 16. # 'Can't connect to www.apache.org:443 (certificate +verify failed) # # LWP::Protocol::https::Socket: SSL connect attempt failed with unknow +n error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certi +ficate verify failed at /usr/local/Perl-5.14/lib/perl5/site_perl/5.14 +.2/LWP/Protocol/http.pm line 51. # ' # doesn't match '(?^:Apache Software Foundation)' # Looks like you failed 2 tests of 4. t/apache.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests Test Summary Report ------------------- t/apache.t (Wstat: 512 Tests: 4 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=1, Tests=4, 3 wallclock secs ( 0.12 usr 0.06 sys + 0.94 cusr + 0.18 csys = 1.30 CPU) Result: FAIL Failed 1/1 test programs. 2/4 subtests failed. *** Error code 2 make: Fatal error: Command failed for target `test_dynamic' The tests for 'LWP::Protocol::https' failed. Would you like me to proc +eed anyway or should we abort?

I can ping www.apache.org, and I have network connectivity (used cpanp to download the module in the first place). Any ideas on what could be causing the tests to fail? Incidently, I had a Solaris x86 v10 system that installed fine.


In reply to Installing module LWP::Protocol::https on Solaris Sparc v10 by rudds_perl_habit

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.