Hi All,

I'm trying to install "LWP::Protocol::https" on my system. I had already successfully installed LWP. I am running Perl v5.14.2 on Cygwin. I noted that the installation of some of the dependencies for "LWP::Protocol::https" had failed so I decided to look into this and try to install these individually.

See below the messages when I try to install "Mozilla::CA" under the cpan program. I can see the file CA.pm:

Heim@Heim-PC ~/.cpan $ find . | egrep CA.pm ./build/Mozilla-CA-20130114-7cyvJm/lib/Mozilla/CA.pm

There seems to be a problem with the paths in @INC (see below) but why should a standard install process fail?

LWP was the first CPAN package that I tried to install and I didn't have any problems with this. Any help appreciated.

Thanks in advance, Edward

-----------------------------------------------------------------------------------------------------------------------------------------------------

cpan[2]> install Mozilla::CA Running install for module '' Running make for A/AB/ABH/Mozilla-CA-20130114.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/Moz +illa-CA-20130114-7cyvJm Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "te +st_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/locate-file.t .. Can't locate Mozilla/CA.pm in @INC (@INC contains: +/home/Heim/.cpan/build/Mozilla-CA-20130114-7cyvJm/blib/lib /home/Heim +/.cpan/build/Mozilla-CA-20130114-7cyvJm/blib/arch /usr/lib/perl5/site +_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /u +sr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl +5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr +/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_p +erl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/locate-file.t line 7. BEGIN failed--compilation aborted at t/locate-file.t line 7. t/locate-file.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/locate-file.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=1, Tests=0, 1 wallclock secs ( 0.05 usr 0.02 sys + 0.04 cusr + 0.03 csys = 0.14 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. Makefile:776: recipe for target `test_dynamic' failed make: *** [test_dynamic] Error 2 ABH/Mozilla-CA-20130114.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports ABH/Mozilla-CA-20130114.tar.gz Running make install make test had returned bad status, won't install without force Already tried without success Failed during this command: ABH/Mozilla-CA-20130114.tar.gz : make_test NO cpan[3]>

In reply to Install LWP::Protocol::https by edheim

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.