Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Install LWP::Protocol::https

by edheim (Initiate)
on Mar 23, 2013 at 23:54 UTC ( #1025097=perlquestion: print w/ replies, xml ) Need Help??
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]>

Comment on Install LWP::Protocol::https
Select or Download Code
Re: Install LWP::Protocol::https (Mozilla::CA)
by Anonymous Monk on Mar 23, 2013 at 23:58 UTC

    Execute

    cpan>look Mozilla::CA $ make realclean $ perl Makefile.PL $ make test TEST_VERBOSE=1

    Then copy / paste everything from perl Makefile.PL up to make test, this is the start of figuring it out

      I followed the steps you suggested and the complete Makefile.PL looks as below. I'm not clear on what I should do from here. Any suggestions appreciated.

      Thanks, Edward

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

      require 5.006; use ExtUtils::MakeMaker; WriteMakefile( NAME => "Mozilla::CA", VERSION_FROM => "lib/Mozilla/CA.pm", ABSTRACT_FROM => "lib/Mozilla/CA.pm", AUTHOR => 'Gisle Aas <gisle@activestate.com>', LICENSE => 'mozilla_1_1 gpl-2 lgpl_2_1', MIN_PERL_VERSION => 5.006, META_MERGE => { resources => { repository => 'http://github.com/gisle/mozilla-ca', }, }, BUILD_REQUIRES => { Test => 0, }, ); BEGIN { # compatibility with older versions of MakeMaker my $developer = -d "eg"; my %mm_req = ( LICENCE => 6.31, META_MERGE => 6.45, META_ADD => 6.45, MIN_PERL_VERSION => 6.48, BUILD_REQUIRES => 6.56, ); undef(*WriteMakefile); *WriteMakefile = sub { my %arg = @_; for (keys %mm_req) { unless (eval { ExtUtils::MakeMaker->VERSION($mm_req{$_}) } +) { warn "$_ $@" if $developer; delete $arg{$_}; } } ExtUtils::MakeMaker::WriteMakefile(%arg); }; }

        I followed the steps you suggested and the complete Makefile.PL looks as below.

        I did not ask for contents of Makefile.PL

Re: Install LWP::Protocol::https
by tobyink (Abbot) on Mar 24, 2013 at 00:15 UTC

    The files in lib/ are not what is tested by a module's test suite, and are not what will be installed on your system. The stuff that is tested - and the stuff which will be installed - is in blib/. (Though often the stuff in blib/ is just a verbatim copy - created during the build process - of the stuff in lib/.)

    The fact that you have found Mozilla/CA.pm in lib/ but not blib/ suggests something went wrong at build time, before the test suite was run.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

      Would appreciate your suggestions on how best to investigate why the build was incorrect

      Thanks, Edward

Re: Install LWP::Protocol::https
by Khen1950fx (Canon) on Mar 24, 2013 at 02:38 UTC
    First, you'll have to temporarily disable the firewall. Second, at the cpan prompt:
    cpan -fi Crypt::SSLeay
    You need to force it because Mozilla::CA has already been unwrapped. You will see some prompts asking if you want to do live tests: answer no. After a successful install, reenable your firewall. That's all---believe it or not:).

      Just for my education, why do I need to disable my firewall? I tried this but installation seems to have failed. Long listing - see below. Do I still have a firewall issue?

      Thanks Edward

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

      Heim@Heim-PC ~ $ cpan -fi Crypt::SSLeay CPAN: Storable loaded ok (v2.27) Going to read '/home/Heim/.cpan/Metadata' Database was generated on Sun, 24 Mar 2013 21:41:02 GMT CPAN: YAML loaded ok (v0.80) Going to read 10 yaml files from /home/Heim/.cpan/build/ CPAN: Time::HiRes loaded ok (v1.972101) DONE Restored the state of none (in 0.1088 secs) Running install for module 'Crypt::SSLeay' Running make for N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz CPAN: LWP::UserAgent loaded ok (v6.04) Fetching with LWP: http://cpan.mirrors.ilisys.com.au/authors/id/N/NA/NANIS/Crypt-SSLeay-0 +.64.tar.gz CPAN: Digest::SHA loaded ok (v5.71) Fetching with LWP: http://cpan.mirrors.ilisys.com.au/authors/id/N/NA/NANIS/CHECKSUMS CPAN: Compress::Zlib loaded ok (v2.033) Checksum for /home/Heim/.cpan/sources/authors/id/N/NA/NANIS/Crypt-SSLe +ay-0.64.tar.gz ok CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4401) CPAN: CPAN::Meta loaded ok (v2.110440) CPAN: Module::CoreList loaded ok (v2.80) CPAN.pm: Going to build N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz The test suite can attempt to connect to public servers to ensure that + the code is working properly. If you are behind a strict firewall or have +no network connectivity, these tests may fail (through no fault of the co +de). Do you want to run the live tests (y/N)? [N] N Checking if your kit is complete... Warning: the following files are missing in your kit: certs/ca-bundle.crt certs/notacacert.pem certs/notacakeynopass.pem eg/lwp-ssl-test eg/net-ssl-test lib/Crypt/SSLeay/Conn.pm lib/Crypt/SSLeay/CTX.pm lib/Crypt/SSLeay/Err.pm lib/Crypt/SSLeay/MainContext.pm lib/Crypt/SSLeay/X509.pm lib/Net/SSL.pm t/00-basic.t t/01-connect.t t/02-live.t Please inform the author. Warning: prerequisite LWP::Protocol::https 6.02 not found. Note (probably harmless): No library found for -lz Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Note (probably harmless): No library found for -lssl32 Note (probably harmless): No library found for -lssleay32 Note (probably harmless): No library found for -leay32 Writing Makefile for Crypt::SSLeay Writing MYMETA.yml ---- Unsatisfied dependencies detected during ---- ---- NANIS/Crypt-SSLeay-0.64.tar.gz ---- LWP::Protocol::https [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'LWP::Protocol::https' Running make for G/GA/GAAS/LWP-Protocol-https-6.03.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/LWP +-Protocol-https-6.03-szsMUU ---- Unsatisfied dependencies detected during ---- ---- GAAS/LWP-Protocol-https-6.03.tar.gz ---- IO::Socket::SSL [requires] Mozilla::CA [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'IO::Socket::SSL' Running make for S/SU/SULLR/IO-Socket-SSL-1.84.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/IO- +Socket-SSL-1.84-jAIpkK ---- Unsatisfied dependencies detected during ---- ---- SULLR/IO-Socket-SSL-1.84.tar.gz ---- Net::SSLeay [requires] Running make test Delayed until after prerequisites Running make install Delayed until after prerequisites Running install for module 'Net::SSLeay' Running make for M/MI/MIKEM/Net-SSLeay-1.54.tar.gz Fetching with LWP: http://cpan.mirrors.ilisys.com.au/authors/id/M/MI/MIKEM/Net-SSLeay-1.5 +4.tar.gz Fetching with LWP: http://cpan.mirrors.ilisys.com.au/authors/id/M/MI/MIKEM/CHECKSUMS Checksum for /home/Heim/.cpan/sources/authors/id/M/MI/MIKEM/Net-SSLeay +-1.54.tar.gz ok CPAN.pm: Going to build M/MI/MIKEM/Net-SSLeay-1.54.tar.gz Can't call method "load_all_extensions" on an undefined value at inc/M +odule/Install.pm line 206. BEGIN failed--compilation aborted at Makefile.PL line 6. Warning: No success on command[/usr/bin/perl Makefile.PL] MIKEM/Net-SSLeay-1.54.tar.gz /usr/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Running make for S/SU/SULLR/IO-Socket-SSL-1.84.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/IO- +Socket-SSL-1.84-jAIpkK Warning: Prerequisite 'Net::SSLeay => 1.21' for 'SULLR/IO-Socket-SSL-1 +.84.tar.gz' failed when processing 'MIKEM/Net-SSLeay-1.54.tar.gz' wit +h 'writemakefile => NO '/usr/bin/perl Makefile.PL' returned status 33 +28'. Continuing, but chances to succeed are limited. 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/01loadmodule.t ........... Can't locate IO/Socket/SSL.pm in @INC (@I +NC contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/li +b /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib +/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_p +erl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /u +sr/lib/perl5/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/per +l5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/01loadmodule +.t line 14. BEGIN failed--compilation aborted at t/01loadmodule.t line 14. t/01loadmodule.t ........... Dubious, test returned 2 (wstat 512, 0x20 +0) Failed 4/4 subtests t/02settings.t ............. Can't locate IO/Socket/SSL.pm in @INC (@I +NC contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/li +b /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib +/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_p +erl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /u +sr/lib/perl5/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/per +l5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/02settings.t + line 4. BEGIN failed--compilation aborted at t/02settings.t line 4. t/02settings.t ............. Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/acceptSSL-timeout.t ...... Can't locate IO/Socket/SSL.pm in @INC (@I +NC contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/li +b /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib +/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_p +erl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /u +sr/lib/perl5/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/per +l5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/acceptSSL-ti +meout.t line 3. BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3. t/acceptSSL-timeout.t ...... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/auto_verify_hostname.t ... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/auto_verify_hos +tname.t line 4. BEGIN failed--compilation aborted at t/auto_verify_hostname.t line 4. t/auto_verify_hostname.t ... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/cert_no_file.t ........... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/cert_no_file.t +line 14. BEGIN failed--compilation aborted at t/cert_no_file.t line 14. t/cert_no_file.t ........... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/compatibility.t .......... Can't locate IO/Socket/SSL.pm in @INC (@I +NC contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/li +b /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib +/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_p +erl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /u +sr/lib/perl5/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/per +l5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/compatibilit +y.t line 5. BEGIN failed--compilation aborted at t/compatibility.t line 5. t/compatibility.t .......... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/connectSSL-timeout.t ..... no testlib at t/connectSSL-timeout.t line + 3. t/connectSSL-timeout.t ..... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/core.t ................... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/core.t line 6. BEGIN failed--compilation aborted at t/core.t line 6. t/core.t ................... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/dhe.t .................... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/dhe.t line 11. BEGIN failed--compilation aborted at t/dhe.t line 11. t/dhe.t .................... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/io-socket-inet6.t ........ Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/io-socket-inet6 +.t line 8. BEGIN failed--compilation aborted at t/io-socket-inet6.t line 8. t/io-socket-inet6.t ........ Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/io-socket-ip.t ........... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/io-socket-ip.t +line 8. BEGIN failed--compilation aborted at t/io-socket-ip.t line 8. t/io-socket-ip.t ........... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/memleak_bad_handshake.t .. Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/memleak_bad_han +dshake.t line 6. BEGIN failed--compilation aborted at t/memleak_bad_handshake.t line 6. t/memleak_bad_handshake.t .. Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/nonblock.t ............... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/nonblock.t line + 6. BEGIN failed--compilation aborted at t/nonblock.t line 6. t/nonblock.t ............... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/npn.t .................... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/npn.t line 5. BEGIN failed--compilation aborted at t/npn.t line 5. t/npn.t .................... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/readline.t ............... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/readline.t line + 14. BEGIN failed--compilation aborted at t/readline.t line 14. t/readline.t ............... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/sessions.t ............... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/sessions.t line + 5. BEGIN failed--compilation aborted at t/sessions.t line 5. t/sessions.t ............... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/signal-readline.t ........ Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/signal-readline +.t line 4. BEGIN failed--compilation aborted at t/signal-readline.t line 4. t/signal-readline.t ........ Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/sni.t .................... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/sni.t line 4. BEGIN failed--compilation aborted at t/sni.t line 4. t/sni.t .................... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/start-stopssl.t .......... Can't locate IO/Socket/SSL.pm in @INC (@I +NC contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/li +b /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib +/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_p +erl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /u +sr/lib/perl5/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/per +l5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/start-stopss +l.t line 4. BEGIN failed--compilation aborted at t/start-stopssl.t line 4. t/start-stopssl.t .......... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/startssl-failed.t ........ Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/startssl-failed +.t line 6. BEGIN failed--compilation aborted at t/startssl-failed.t line 6. t/startssl-failed.t ........ Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/startssl.t ............... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/startssl.t line + 6. BEGIN failed--compilation aborted at t/startssl.t line 6. t/startssl.t ............... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/sysread_write.t .......... Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/sysread_write.t + line 9. BEGIN failed--compilation aborted at t/sysread_write.t line 9. t/sysread_write.t .......... Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run t/verify_hostname.t ........ Can't locate Net/SSLeay.pm in @INC (@INC +contains: /home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/lib / +home/Heim/.cpan/build/IO-Socket-SSL-1.84-jAIpkK/blib/arch /usr/lib/pe +rl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl +/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ +lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64 +int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/ +vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at t/verify_hostname +.t line 4. BEGIN failed--compilation aborted at t/verify_hostname.t line 4. t/verify_hostname.t ........ Dubious, test returned 2 (wstat 512, 0x20 +0) No subtests run Test Summary Report ------------------- t/01loadmodule.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 0. t/02settings.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/acceptSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/auto_verify_hostname.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/cert_no_file.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/compatibility.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/connectSSL-timeout.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/core.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/dhe.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/io-socket-inet6.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/io-socket-ip.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/memleak_bad_handshake.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/nonblock.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/npn.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/readline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/sessions.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/signal-readline.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/sni.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/start-stopssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/startssl-failed.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/startssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/sysread_write.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/verify_hostname.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=23, Tests=0, 1 wallclock secs ( 0.00 usr 0.03 sys + 0.32 cusr + 0.18 csys = 0.53 CPU) Result: FAIL Failed 23/23 test programs. 0/0 subtests failed. Makefile:777: recipe for target `test_dynamic' failed make: *** [test_dynamic] Error 2 SULLR/IO-Socket-SSL-1.84.tar.gz one dependency not OK (Net::SSLeay); additionally test harness failed /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports SULLR/IO-Socket-SSL-1.84.tar.gz Running make install !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Couldn't chdir to 'blib/lib': Permission denied !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 Makefile:648: recipe for target `pure_site_install' failed make: *** [pure_site_install] Error 13 SULLR/IO-Socket-SSL-1.84.tar.gz /usr/bin/make install -- NOT OK Running install for module 'Mozilla::CA' 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, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.04 cusr + 0.01 csys = 0.12 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Couldn't chdir to 'blib/lib': Permission denied !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 Makefile:647: recipe for target `pure_site_install' failed make: *** [pure_site_install] Error 13 ABH/Mozilla-CA-20130114.tar.gz /usr/bin/make install -- NOT OK Running make for G/GA/GAAS/LWP-Protocol-https-6.03.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/LWP +-Protocol-https-6.03-szsMUU Warning: Prerequisite 'IO::Socket::SSL => 1.54' for 'GAAS/LWP-Protocol +-https-6.03.tar.gz' failed when processing 'SULLR/IO-Socket-SSL-1.84. +tar.gz' with 'make_test => FAILED but failure ignored because 'force' + in effect'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Mozilla::CA => 20110101' for 'GAAS/LWP-Protocol +-https-6.03.tar.gz' failed when processing 'ABH/Mozilla-CA-20130114.t +ar.gz' with 'make_test => FAILED but failure ignored because 'force' +in effect'. Continuing, but chances to succeed are limited. 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/apache.t .. 1/2 # Failed test at t/apache.t line 14. # Failed test at t/apache.t line 15. # 'LWP will support https URLs if the LWP::Protocol: +:https module # is installed. # ' # doesn't match '(?^:Apache Software Foundation)' # Looks like you failed 2 tests of 2. t/apache.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests Test Summary Report ------------------- t/apache.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=1, Tests=2, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.12 cusr + 0.12 csys = 0.29 CPU) Result: FAIL Failed 1/1 test programs. 2/2 subtests failed. Makefile:780: recipe for target `test_dynamic' failed make: *** [test_dynamic] Error 2 GAAS/LWP-Protocol-https-6.03.tar.gz 2 dependencies missing (Mozilla::CA,IO::Socket::SSL); additionally tes +t harness failed /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports GAAS/LWP-Protocol-https-6.03.tar.gz Running make install !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Couldn't chdir to 'blib/lib': Permission denied !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 Makefile:651: recipe for target `pure_site_install' failed make: *** [pure_site_install] Error 13 GAAS/LWP-Protocol-https-6.03.tar.gz /usr/bin/make install -- NOT OK Running make for N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz Has already been unwrapped into directory /home/Heim/.cpan/build/Cry +pt-SSLeay-0.64-4GqoXH CPAN.pm: Going to build N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz Warning: Prerequisite 'LWP::Protocol::https => 6.02' for 'NANIS/Crypt- +SSLeay-0.64.tar.gz' failed when processing 'GAAS/LWP-Protocol-https-6 +.03.tar.gz' with 'make_test => FAILED but failure ignored because 'fo +rce' in effect'. Continuing, but chances to succeed are limited. cp SSLeay.pm blib/lib/Crypt/SSLeay.pm /usr/bin/perl.exe /usr/lib/perl5/5.14/ExtUtils/xsubpp -typemap /usr/l +ib/perl5/5.14/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.x +sc && mv SSLeay.xsc SSLeay.c gcc-4 -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-al +iasing -pipe -fstack-protector -DUSEIMPORTLIB -O3 -DVERSION=\"0.64 +\" -DXS_VERSION=\"0.64\" "-I/usr/lib/perl5/5.14/i686-cygwin-threads +-64int/CORE" SSLeay.c SSLeay.xs:35:25: fatal error: openssl/ssl.h: No such file or directory compilation terminated. Makefile:326: recipe for target `SSLeay.o' failed make: *** [SSLeay.o] Error 1 NANIS/Crypt-SSLeay-0.64.tar.gz /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Could not read metadata file. Falling back to other methods to determi +ne prerequisites Heim@Heim-PC ~ $

        fatal error: openssl/ssl.h: No such file or directory

        So do you have openssl headers/libraries installed? Where?

        Please follow the instructions in the INSTALL seciton of the Crypt::SSLeay documentation. Specifically installing the prerequisites, OpenSSL etc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1025097]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-11-22 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (118 votes), past polls