http://www.perlmonks.org?node_id=1025097

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

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]>