Perl module LWP::Protocol::https installation fails on Ubuntu - perl
Wanting to use LWP::UserAgent on an HTTPS resource, I was asked to install missing module LWP::Protocol::https. Fine.
I'm on Ubuntu 13.04. I ran 'install LWP::Protocol::https' under cpan prompt but installation fails (see log below).
Any idea ?
Thanks
cpan[10]> install LWP::Protocol::https
Running install for module 'LWP::Protocol::https'
Running make for G/GA/GAAS/LWP-Protocol-https-6.04.tar.gz
Has already been unwrapped into directory /root/.cpan/build/LWP-Protocol-https-6.04-A81I35
---- Unsatisfied dependencies detected during ----
---- GAAS/LWP-Protocol-https-6.04.tar.gz ----
IO::Socket::SSL [requires]
Running make test
Delayed until after prerequisites
Running make install
make test had returned bad status, won't install without force
Delayed until after prerequisites
Running install for module 'IO::Socket::SSL'
Running make for S/SU/SULLR/IO-Socket-SSL-1.981.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx
---- Unsatisfied dependencies detected during ----
---- SULLR/IO-Socket-SSL-1.981.tar.gz ----
Net::SSLeay [requires]
Running make test
Delayed until after prerequisites
Running make install
make test had returned bad status, won't install without force
Delayed until after prerequisites
Running install for module 'Net::SSLeay'
Running make for M/MI/MIKEM/Net-SSLeay-1.58.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Net-SSLeay-1.58-KYAjpu
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for S/SU/SULLR/IO-Socket-SSL-1.981.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx
Warning: Prerequisite 'Net::SSLeay => 1.46' for 'SULLR/IO-Socket-SSL-1.981.tar.gz' failed when processing 'MIKEM/Net-SSLeay-1.58.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/external/*.t
t/01loadmodule.t .................. 1/3
# Failed test 'loaded'
# at t/01loadmodule.t line 8.
Undefined subroutine &Net::SSLeay::OPENSSL_VERSION_NUMBER called at t/01loadmodule.t line 10.
# Looks like you planned 3 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 2 just after 1.
t/01loadmodule.t .................. Dubious, test returned 2 (wstat 512, 0x200)
Failed 3/3 subtests
t/acceptSSL-timeout.t ............. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/acceptSSL-timeout.t line 3.
BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3.
t/acceptSSL-timeout.t ............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/auto_verify_hostname.t .......... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/auto_verify_hostname.t line 5.
BEGIN failed--compilation aborted at t/auto_verify_hostname.t line 5.
t/auto_verify_hostname.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/cert_no_file.t .................. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/cert_no_file.t line 16.
BEGIN failed--compilation aborted at t/cert_no_file.t line 16.
t/cert_no_file.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/compatibility.t ................. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/compatibility.t line 7.
BEGIN failed--compilation aborted at t/compatibility.t line 7.
t/compatibility.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/connectSSL-timeout.t ............ Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/connectSSL-timeout.t line 3.
BEGIN failed--compilation aborted at t/connectSSL-timeout.t line 3.
t/connectSSL-timeout.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/core.t .......................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/core.t line 7.
BEGIN failed--compilation aborted at t/core.t line 7.
t/core.t .......................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/dhe.t ........................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/dhe.t line 13.
BEGIN failed--compilation aborted at t/dhe.t line 13.
t/dhe.t ........................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/ecdhe.t ......................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/ecdhe.t line 7.
BEGIN failed--compilation aborted at t/ecdhe.t line 7.
t/ecdhe.t ......................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/external/usable_ca.t ............ Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/external/usable_ca.t line 4.
BEGIN failed--compilation aborted at t/external/usable_ca.t line 4.
t/external/usable_ca.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/io-socket-inet6.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/io-socket-inet6.t line 14.
BEGIN failed--compilation aborted at t/io-socket-inet6.t line 14.
t/io-socket-inet6.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/io-socket-ip.t .................. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/io-socket-ip.t line 10.
BEGIN failed--compilation aborted at t/io-socket-ip.t line 10.
t/io-socket-ip.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/memleak_bad_handshake.t ......... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/memleak_bad_handshake.t line 7.
BEGIN failed--compilation aborted at t/memleak_bad_handshake.t line 7.
t/memleak_bad_handshake.t ......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/mitm.t .......................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/mitm.t line 5.
BEGIN failed--compilation aborted at t/mitm.t line 5.
t/mitm.t .......................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/nonblock.t ...................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/nonblock.t line 8.
BEGIN failed--compilation aborted at t/nonblock.t line 8.
t/nonblock.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/npn.t ........................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/npn.t line 7.
BEGIN failed--compilation aborted at t/npn.t line 7.
t/npn.t ........................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/public_suffix_lib_encode_idn.t .. ok
t/public_suffix_lib_libidn.t ...... ok
t/public_suffix_lib_uri.t ......... ok
t/public_suffix_ssl.t ............. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/public_suffix_ssl.t line 3.
BEGIN failed--compilation aborted at t/public_suffix_ssl.t line 3.
t/public_suffix_ssl.t ............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/readline.t ...................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/readline.t line 16.
BEGIN failed--compilation aborted at t/readline.t line 16.
t/readline.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sessions.t ...................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/sessions.t line 7.
BEGIN failed--compilation aborted at t/sessions.t line 7.
t/sessions.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/signal-readline.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/signal-readline.t line 5.
BEGIN failed--compilation aborted at t/signal-readline.t line 5.
t/signal-readline.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sni.t ........................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/sni.t line 5.
BEGIN failed--compilation aborted at t/sni.t line 5.
t/sni.t ........................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/start-stopssl.t ................. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/start-stopssl.t line 6.
BEGIN failed--compilation aborted at t/start-stopssl.t line 6.
t/start-stopssl.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/startssl-failed.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/startssl-failed.t line 5.
BEGIN failed--compilation aborted at t/startssl-failed.t line 5.
t/startssl-failed.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/startssl.t ...................... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/startssl.t line 7.
BEGIN failed--compilation aborted at t/startssl.t line 7.
t/startssl.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/sysread_write.t ................. Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/sysread_write.t line 11.
BEGIN failed--compilation aborted at t/sysread_write.t line 11.
t/sysread_write.t ................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/verify_fingerprint.t ............ Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
BEGIN failed--compilation aborted at /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib/IO/Socket/SSL.pm line 17.
Compilation failed in require at t/verify_fingerprint.t line 4.
BEGIN failed--compilation aborted at t/verify_fingerprint.t line 4.
t/verify_fingerprint.t ............ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/verify_hostname.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/lib /root/.cpan/build/IO-Socket-SSL-1.981-BlA8cx/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/verify_hostname.t line 5.
BEGIN failed--compilation aborted at t/verify_hostname.t line 5.
t/verify_hostname.t ............... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Test Summary Report
-------------------
t/01loadmodule.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
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/ecdhe.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/external/usable_ca.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/mitm.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/public_suffix_ssl.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_fingerprint.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=30, Tests=250, 1 wallclock secs ( 0.13 usr 0.06 sys + 0.38 cusr 0.08 csys = 0.65 CPU)
Result: FAIL
Failed 27/30 test programs. 1/250 subtests failed.
make: *** [test_dynamic] Error 2
SULLR/IO-Socket-SSL-1.981.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, try:
reports SULLR/IO-Socket-SSL-1.981.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for G/GA/GAAS/LWP-Protocol-https-6.04.tar.gz
Has already been unwrapped into directory /root/.cpan/build/LWP-Protocol-https-6.04-A81I35
Warning: Prerequisite 'IO::Socket::SSL => 1.54' for 'GAAS/LWP-Protocol-https-6.04.tar.gz' failed when processing 'SULLR/IO-Socket-SSL-1.981.tar.gz' with 'make_test => NO one dependency not OK (Net::SSLeay); additionally test harness failed'. Continuing, but chances to succeed are limited.
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/apache.t .. 1/4
# Failed test at t/apache.t line 15.
# Failed test at t/apache.t line 16.
# 'LWP will support https URLs if the LWP::Protocol::https module
# is installed.
# '
# doesn't match '(?^:Apache Software Foundation)'
# Failed test at t/apache.t line 23.
# Looks like you failed 3 tests of 4.
t/apache.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/4 subtests
Test Summary Report
-------------------
t/apache.t (Wstat: 768 Tests: 4 Failed: 3)
Failed tests: 1-3
Non-zero exit status: 3
Files=1, Tests=4, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr 0.00 csys = 0.10 CPU)
Result: FAIL
Failed 1/1 test programs. 3/4 subtests failed.
make: *** [test_dynamic] Error 3
GAAS/LWP-Protocol-https-6.04.tar.gz
one dependency not OK (IO::Socket::SSL); additionally test harness failed
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GAAS/LWP-Protocol-https-6.04.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GAAS/LWP-Protocol-https-6.04.tar.gz : make_test NO one dependency not OK (IO::Socket::SSL); additionally test harness failed
SULLR/IO-Socket-SSL-1.981.tar.gz : make_test NO one dependency not OK (Net::SSLeay); additionally test harness failed
Because you are running cpan as root I assume you just want to add this module to the perl shipping with ubuntu. In this case just install liblwp-protocol-https-perl.
Otherwise, if you want to build it yourself:
LWP::Protocol::https requires IO::Socket::SSL which requires Net::SSLeay which needs the OpenSSL header files and libraries. So if you want to build it yourself you need libssl-dev.
It's ok now.
I run 'sudo apt-get install libssl-dev' then 'sudo cpan install LWP::Protocol::https'
All went fine.
Thank you all
install the libssl-dev package SSLeay.xs includes a number of headers( etc) and these are found in the libssl-dev package in Ubuntu 13.04 Raring Ringtail.
Related
"Can't locate Parse/Pidl/IDL.pm" while installing Parse::Pidl
I'm having an error trying to install Parse::Pidl module with cpan. It seems that within the downloaded archive Parse-Pidl-0.02.tar.gz is missing the IDL.pm module (I think it should be within Parse-Pidl-0.02.tar.gz, but not sure) This was with perl v5.26.1 built for x86_64-linux-thread-multi on Linux 5.14.21 (opensuse) cpan Parse::Pidl Loading internal null logger. Install Log::Log4perl for logging messages CPAN: Storable loaded ok (v2.62) Reading '/root/.cpan/Metadata' Database was generated on Fri, 25 Nov 2022 07:29:01 GMT Running install for module 'Parse::Pidl' CPAN: Digest::SHA loaded ok (v5.96) CPAN: Compress::Zlib loaded ok (v2.074) Checksum for /root/.cpan/sources/authors/id/C/CT/CTRLSOFT/Parse-Pidl-0.02.tar.gz ok CPAN: YAML loaded ok (v1.30) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) Configuring C/CT/CTRLSOFT/Parse-Pidl-0.02.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Parse::Pidl Writing MYMETA.yml and MYMETA.json CTRLSOFT/Parse-Pidl-0.02.tar.gz /usr/bin/perl Makefile.PL -- OK Running make for C/CT/CTRLSOFT/Parse-Pidl-0.02.tar.gz CPAN: Module::CoreList loaded ok (v5.20170922_26) cp lib/Parse/Pidl/Samba4/Template.pm blib/lib/Parse/Pidl/Samba4/Template.pm cp lib/Parse/Pidl/Samba4/SWIG.pm blib/lib/Parse/Pidl/Samba4/SWIG.pm cp lib/Parse/Pidl/Ethereal/Conformance.pm blib/lib/Parse/Pidl/Ethereal/Conformance.pm cp lib/Parse/Pidl/Samba4/COM/Stub.pm blib/lib/Parse/Pidl/Samba4/COM/Stub.pm cp lib/Parse/Pidl.pm blib/lib/Parse/Pidl.pm cp lib/Parse/Pidl/Compat.pm blib/lib/Parse/Pidl/Compat.pm cp lib/Parse/Pidl/Ethereal/NDR.pm blib/lib/Parse/Pidl/Ethereal/NDR.pm cp lib/Parse/Pidl/Samba4/TDR.pm blib/lib/Parse/Pidl/Samba4/TDR.pm cp lib/Parse/Pidl/Typelist.pm blib/lib/Parse/Pidl/Typelist.pm cp lib/Parse/Pidl/Samba4/COM/Proxy.pm blib/lib/Parse/Pidl/Samba4/COM/Proxy.pm cp lib/Parse/Pidl/Samba4/NDR/Parser.pm blib/lib/Parse/Pidl/Samba4/NDR/Parser.pm cp lib/Parse/Pidl/Samba4/COM/Header.pm blib/lib/Parse/Pidl/Samba4/COM/Header.pm cp lib/Parse/Pidl/ODL.pm blib/lib/Parse/Pidl/ODL.pm cp lib/Parse/Pidl/Samba4/NDR/Client.pm blib/lib/Parse/Pidl/Samba4/NDR/Client.pm cp lib/Parse/Pidl/Samba4/Header.pm blib/lib/Parse/Pidl/Samba4/Header.pm cp lib/Parse/Pidl/Samba4/EJS.pm blib/lib/Parse/Pidl/Samba4/EJS.pm cp lib/Parse/Pidl/NDR.pm blib/lib/Parse/Pidl/NDR.pm cp lib/Parse/Pidl/Dump.pm blib/lib/Parse/Pidl/Dump.pm cp lib/Parse/Pidl/Util.pm blib/lib/Parse/Pidl/Util.pm cp lib/Parse/Pidl/Samba4/NDR/Server.pm blib/lib/Parse/Pidl/Samba4/NDR/Server.pm cp pidl blib/script/pidl "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pidl Manifying 1 pod document Manifying 4 pod documents CTRLSOFT/Parse-Pidl-0.02.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" tests/*.pl tests/ndr_align.pl ... Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_align.pl line 10. BEGIN failed--compilation aborted at tests/ndr_align.pl line 10. # Looks like your test exited with 2 before it could output anything. tests/ndr_align.pl ... Dubious, test returned 2 (wstat 512, 0x200) Failed 40/40 subtests tests/ndr_alloc.pl ... Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_alloc.pl line 10. BEGIN failed--compilation aborted at tests/ndr_alloc.pl line 10. # Looks like your test exited with 2 before it could output anything. tests/ndr_alloc.pl ... Dubious, test returned 2 (wstat 512, 0x200) Failed 40/40 subtests tests/ndr_array.pl ... Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_array.pl line 11. BEGIN failed--compilation aborted at tests/ndr_array.pl line 11. # Looks like your test exited with 2 before it could output anything. tests/ndr_array.pl ... Dubious, test returned 2 (wstat 512, 0x200) Failed 8/8 subtests tests/ndr_refptr.pl .. Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_refptr.pl line 12. BEGIN failed--compilation aborted at tests/ndr_refptr.pl line 12. # Looks like your test exited with 2 before it could output anything. tests/ndr_refptr.pl .. Dubious, test returned 2 (wstat 512, 0x200) Failed 168/168 subtests tests/ndr_simple.pl .. Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_simple.pl line 11. BEGIN failed--compilation aborted at tests/ndr_simple.pl line 11. # Looks like your test exited with 2 before it could output anything. tests/ndr_simple.pl .. Dubious, test returned 2 (wstat 512, 0x200) Failed 8/8 subtests tests/ndr_string.pl .. Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. BEGIN failed--compilation aborted at /root/.cpan/build/Parse-Pidl-0.02-1/tests/Util.pm line 14. Compilation failed in require at tests/ndr_string.pl line 11. BEGIN failed--compilation aborted at tests/ndr_string.pl line 11. # Looks like your test exited with 2 before it could output anything. tests/ndr_string.pl .. Dubious, test returned 2 (wstat 512, 0x200) Failed 16/16 subtests tests/parse_idl.pl ... Can't locate Parse/Pidl/IDL.pm in #INC (you may need to install the Parse::Pidl::IDL module) (#INC contains: /root/.cpan/build/Parse-Pidl-0.02-1/tests/../lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/lib /root/.cpan/build/Parse-Pidl-0.02-1/blib/arch /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl .) at tests/parse_idl.pl line 10. BEGIN failed--compilation aborted at tests/parse_idl.pl line 10. # Looks like your test exited with 2 before it could output anything. tests/parse_idl.pl ... Dubious, test returned 2 (wstat 512, 0x200) Failed 51/51 subtests Test Summary Report ------------------- tests/ndr_align.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 40 tests but ran 0. tests/ndr_alloc.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 40 tests but ran 0. tests/ndr_array.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. tests/ndr_refptr.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 168 tests but ran 0. tests/ndr_simple.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. tests/ndr_string.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 16 tests but ran 0. tests/parse_idl.pl (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 51 tests but ran 0. Files=7, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.19 cusr 0.04 csys = 0.25 CPU) Result: FAIL Failed 7/7 test programs. 0/0 subtests failed. make: *** [Makefile:880: test_dynamic] Error 2 CTRLSOFT/Parse-Pidl-0.02.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CTRLSOFT/Parse-Pidl-0.02.tar.gz Any ideas on how to complete the install ?
The installation process is supposed to create lib/Parse/Pidl/IDL.pm, but it doesn't.[1] But you can work around this. cpan Parse::Yapp wget https://cpan.metacpan.org/authors/id/C/CT/CTRLSOFT/Parse-Pidl-0.02.tar.gz tar xzf Parse-Pidl-0.02.tar.gz cd Parse-Pidl-0.02 perl Makefile.PL yapp -s -m 'Parse::Pidl::IDL' -o lib/Parse/Pidl/IDL.pm idl.yp make test make install This is just what cpan does, with two additions: Installing Parse::Yapp to provide yapp, and running yapp manually. I don't have time to look into why.
Installing koha by cpan, Can't locate XML/LibXSLT.pm
The following fatal error has occurred: Can't locate XML/LibXSLT.pm in #INC (#INC contains: /home/koha/koha/koha /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/koha/koha/koha/C4/XSLT.pm line 28. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/XSLT.pm line 28. Compilation failed in require at /home/koha/koha/koha/C4/Search.pm line 28. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Search.pm line 28. Compilation failed in require at /home/koha/koha/koha/C4/Heading.pm line 25. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Heading.pm line 25. Compilation failed in require at /home/koha/koha/koha/C4/Biblio.pm line 36. Compilation failed in require at /home/koha/koha/koha/C4/Reserves.pm line 26. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Reserves.pm line 26. Compilation failed in require at /home/koha/koha/koha/C4/Circulation.pm line 25. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Circulation.pm line 25. Compilation failed in require at /home/koha/koha/koha/C4/Overdues.pm line 25. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4``/Overdues.pm line 25. Compilation failed in require at /home/koha/koha/koha/C4/Members.pm line 27. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Members.pm line 27. Compilation failed in require at /home/koha/koha/koha/C4/Auth.pm line 27. BEGIN failed--compilation aborted at /home/koha/koha/koha/C4/Auth.pm line 27. Compilation failed in require at /home/koha/koha/koha/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/koha/koha/opac/opac-main.pl line 22.
You need to install the XML::LibXSLT module. Install it by: $ cpan XML::LibXSLT Also check: Installing perl dependency automatically in perl Have a look at Bundle::KohaSupport - A bundle of the required Perl modules for Koha Intergrated Library System.
Perl Ubuntu WordNet::SenseRelate::AllWords - Similarity issue during installation
if this is spamming the forum then I'm sorry, but I felt like creating a new thread for this issue since I'm now working in Ubuntu and not Windows (hurraay!). Link to old thread: Perl WordNet::Similarity installation issue This is the error I get now: TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Error-Suffixes-tagged-wntagged.t .. Can't locate WordNet/Tools.pm in #INC (#INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/Error-Suffixes-tagged-wntagged.t line 6. BEGIN failed--compilation aborted at t/Error-Suffixes-tagged-wntagged.t line 6. t/Error-Suffixes-tagged-wntagged.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/WordNet-SenseRelate-AllWords.t .... Can't locate WordNet/Tools.pm in #INC (#INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/WordNet-SenseRelate-AllWords.t line 21. BEGIN failed--compilation aborted at t/WordNet-SenseRelate-AllWords.t line 21. t/WordNet-SenseRelate-AllWords.t .... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/wsd.t ............................. Can't locate WordNet/Tools.pm in #INC (#INC contains: /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/lib /home/kristian/.cpan/build/WordNet-SenseRelate-AllWords-0.19-VGDkgr/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/wsd.t line 24. BEGIN failed--compilation aborted at t/wsd.t line 24. t/wsd.t ............................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/Error-Suffixes-tagged-wntagged.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/WordNet-SenseRelate-AllWords.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/wsd.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=3, Tests=0, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.13 cusr 0.03 csys = 0.20 CPU) Result: FAIL Failed 3/3 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 2 TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz one dependency not OK (WordNet::Similarity); additionally test harness failed /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TPEDERSE/WordNet-SenseRelate-AllWords-0.19.tar.gz Running make install make test had returned bad status, won't install without force Any ideas? Thanks UPD: After installing missing module got this: Test Summary Report - t/trace.t (Wstat: 256 Tests: 132 Failed: 1) Failed test: 76 Non-zero exit status: 1 Files=22, Tests=2027, 88 wallclock secs ( 0.48 usr 0.05 sys + 85.34 cusr 2.23 csys = 88.10 CPU) Result: FAIL Failed 1/22 test programs. 1/2027 subtests failed. make: *** [test_dynamic] Error 255 TPEDERSE/WordNet-Similarity-2.05.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports TPEDERSE/WordNet-Similarity-2.05.tar.gz Running make install make test had returned bad status, won't install without force
As we can see Can't locate WordNet/Tools.pm in #INC firstly you should install WordNet::Tools then try again this installation.
installing package using CPAN Perl
I'm trying to install some libraries using Perl from the command line: perl -MCPAN -e "install XML::Tidy" However, I'm not being able to: Warning (usually harmless): 'YAML' not installed, will not store persistent state Running Build test t\00pod.t ..... ok t\00podc.t .... Can't locate Test/Pod/Coverage.pm in #INC (#INC contains: C:\xam pp\perl\bin\.cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib C:\xampp\perl\bin\ .cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\arch C:/xampp/perl/lib C:/xampp/pe rl/site/lib .) at t\00podc.t line 1. BEGIN failed--compilation aborted at t\00podc.t line 1. t\00podc.t .... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t\00small.t ... Base class package "XML::XPath" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in #INC (#INC contains: C:\xampp\perl\bin\.cpa n\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib C:\xampp\perl\bin\.cpan\build\XML- Tidy-1.12.B55J2qn-y5sVpz\blib\arch C:/xampp/perl/lib C:/xampp/perl/site/lib .). at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib/XML/Tidy .pm line 5 BEGIN failed--compilation aborted at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12 .B55J2qn-y5sVpz\blib\lib/XML/Tidy.pm line 5. Compilation failed in require at t\00small.t line 3. BEGIN failed--compilation aborted at t\00small.t line 3. t\00small.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 15/15 subtests t\01medium.t .. Base class package "XML::XPath" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in #INC (#INC contains: C:\xampp\perl\bin\.cpa n\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib C:\xampp\perl\bin\.cpan\build\XML- Tidy-1.12.B55J2qn-y5sVpz\blib\arch C:/xampp/perl/lib C:/xampp/perl/site/lib .). at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib/XML/Tidy .pm line 5 BEGIN failed--compilation aborted at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12 .B55J2qn-y5sVpz\blib\lib/XML/Tidy.pm line 5. Compilation failed in require at t\01medium.t line 3. BEGIN failed--compilation aborted at t\01medium.t line 3. t\01medium.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 15/15 subtests t\02large.t ... Base class package "XML::XPath" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in #INC (#INC contains: C:\xampp\perl\bin\.cpa n\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib C:\xampp\perl\bin\.cpan\build\XML- Tidy-1.12.B55J2qn-y5sVpz\blib\arch C:/xampp/perl/lib C:/xampp/perl/site/lib .). at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib/XML/Tidy .pm line 5 BEGIN failed--compilation aborted at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12 .B55J2qn-y5sVpz\blib\lib/XML/Tidy.pm line 5. Compilation failed in require at t\02large.t line 3. BEGIN failed--compilation aborted at t\02large.t line 3. t\02large.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 15/15 subtests t\03prune.t ... Base class package "XML::XPath" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in #INC (#INC contains: C:\xampp\perl\bin\.cpa n\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib C:\xampp\perl\bin\.cpan\build\XML- Tidy-1.12.B55J2qn-y5sVpz\blib\arch C:/xampp/perl/lib C:/xampp/perl/site/lib .). at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12.B55J2qn-y5sVpz\blib\lib/XML/Tidy .pm line 5 BEGIN failed--compilation aborted at C:\xampp\perl\bin\.cpan\build\XML-Tidy-1.12 .B55J2qn-y5sVpz\blib\lib/XML/Tidy.pm line 5. Compilation failed in require at t\03prune.t line 3. BEGIN failed--compilation aborted at t\03prune.t line 3. t\03prune.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 15/15 subtests Test Summary Report ------------------- t\00podc.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t\00small.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 15 tests but ran 0. t\01medium.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 15 tests but ran 0. t\02large.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 15 tests but ran 0. t\03prune.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 15 tests but ran 0. Files=6, Tests=2, 0 wallclock secs ( 0.05 usr + 0.05 sys = 0.09 CPU) Result: FAIL Failed 5/6 test programs. 0/2 subtests failed. PIP/XML-Tidy-1.12.B55J2qn.tgz C:\xampp\perl\bin\perl.exe ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PIP/XML-Tidy-1.12.B55J2qn.tgz Warning (usually harmless): 'YAML' not installed, will not store persistent stat e Running Build install make test had returned bad status, won't install without force In fact, I haven't been able to install any library (YAML for example). I also tried someone's suggestion: perl -MCPAN -e "CPAN::Shell->force(qw(XML::Tidy));" However I had the same outcome. Could someone please help me to figure out how to install those packages? I'm running Perl in a Windows 7 machine.
Fix earlier errors first! XML::Tidy has a stated dependency on Test::Pod::Coverage and XML::XPath. You don't have them installed, so an error must have occurred earlier in the installation process.
How do I install Email::Send::Gmail for ActivePerl?
I am trying to install that module for mail sending . And i am getting following errors : Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' . Continuing, but chances to succeed are limited. cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe -- OK Running make test C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/test.t .. # Failed test 'use Net::SMTP::SSL;' # at t/test.t line 2. t/test.t .. 1/1 # Tried to use 'Net::SMTP::SSL'. # Error: Can't locate IO/Socket/SSL.pm in #INC (#INC contains: C:\Perl\cpan \build\Net-SMTP-SSL-1.01-Jh6RtD\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Jh 6RtD\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS L-1.01-Jh6RtD\blib\lib/Net/SMTP/SSL.pm line 8. # BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Jh6R tD\blib\lib/Net/SMTP/SSL.pm line 8. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/test.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. dmake.exe: Error code 129, while making 'test_dynamic' CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CWEST/Net-SMTP-SSL-1.01.tar.gz Running make install make test had returned bad status, won't install without force Running make for L/LB/LBROCARD/Email-Send-Gmail-0.33.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Email-Send-Gmail- 0.33-G8YCrU CPAN.pm: Going to build L/LB/LBROCARD/Email-Send-Gmail-0.33.tar.gz Warning: Prerequisite 'Net::SMTP::SSL => 0' for 'LBROCARD/Email-Send-Gmail-0.33. tar.gz' failed when processing 'CWEST/Net-SMTP-SSL-1.01.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. cp lib/Email/Send/Gmail.pm blib\lib\Email\Send\Gmail.pm LBROCARD/Email-Send-Gmail-0.33.tar.gz C:\Perl\site\bin\dmake.exe -- OK Running make test C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/pod.t .. skipped: Test::Pod 1.14 required for testing POD: Can't locate Test/P od.pm in #INC (#INC contains: C:\Perl\cpan\build\Email-Send-Gmail-0.33-G8YCrU\bl ib\lib C:\Perl\cpan\build\Email-Send-Gmail-0.33-G8YCrU\blib\arch C:/Perl/site/li b C:/Perl/lib) at (eval 4) line 2. Files=1, Tests=0, 0 wallclock secs ( 0.03 usr + 0.00 sys = 0.03 CPU) Result: NOTESTS LBROCARD/Email-Send-Gmail-0.33.tar.gz Tests succeeded but one dependency not OK (Net::SMTP::SSL) LBROCARD/Email-Send-Gmail-0.33.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force I tried to install IO::Socket::SSL but there also i got alot of errors Any idea what is wrong? Thanks for help. When I try to install Net::SMTP::SSL I get the following errors: Set up gcc environment - 3.4.5 (mingw-vista special r3) Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm *** Could not find OpenSSL If it's already installed, please set the OPENSSL_PREFIX environment variable accordingly. If it isn't installed yet, get the latest version from http://www.openssl.org/. Warning: No success on command[C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site ] FLORA/Net-SSLeay-1.35.tar.gz C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- 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.31.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\IO-Socket-SSL-1.3 1-q3PROh CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-1.31.tar.gz Warning: Prerequisite 'Net::SSLeay => 1.21' for 'SULLR/IO-Socket-SSL-1.31.tar.gz ' failed when processing 'FLORA/Net-SSLeay-1.35.tar.gz' with 'writemakefile => N O 'C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site' returned status 512'. Cont inuing, but chances to succeed are limited. cp SSL.pm blib\lib\IO\Socket\SSL.pm SULLR/IO-Socket-SSL-1.31.tar.gz C:\Perl\site\bin\dmake.exe -- OK Running make test C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01loadmodule.t ........... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO h\blib\lib/IO/Socket/SSL.pm line 18. Compilation failed in require 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, 0x200) Failed 4/4 subtests t/02settings.t ............. Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO h\blib\lib/IO/Socket/SSL.pm line 18. Compilation failed in require 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, 0x200) No subtests run t/acceptSSL-timeout.t ...... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO h\blib\lib/IO/Socket/SSL.pm line 18. Compilation failed in require at t/acceptSSL-timeout.t line 3. BEGIN failed--compilation aborted at t/acceptSSL-timeout.t line 3. t/acceptSSL-timeout.t ...... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/auto_verify_hostname.t ... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/auto_verify_ho stname.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, 0x200) No subtests run t/cert_no_file.t ........... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) 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, 0x200) No subtests run t/compatibility.t .......... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO h\blib\lib/IO/Socket/SSL.pm line 18. Compilation failed in require at t/compatibility.t line 5. BEGIN failed--compilation aborted at t/compatibility.t line 5. t/compatibility.t .......... Dubious, test returned 2 (wstat 512, 0x200) 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, 0x200) No subtests run t/core.t ................... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) 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, 0x200) No subtests run t/dhe.t .................... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) 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, 0x200) No subtests run t/inet6.t .................. Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/inet6.t line 5 . BEGIN failed--compilation aborted at t/inet6.t line 5. t/inet6.t .................. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/memleak_bad_handshake.t .. Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/memleak_bad_ha ndshake.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, 0x200) No subtests run t/nonblock.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/nonblock.t lin e 6. BEGIN failed--compilation aborted at t/nonblock.t line 6. t/nonblock.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/readline.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/readline.t lin e 14. BEGIN failed--compilation aborted at t/readline.t line 14. t/readline.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/sessions.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/sessions.t lin e 5. BEGIN failed--compilation aborted at t/sessions.t line 5. t/sessions.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/start-stopssl.t .......... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\bui ld\IO-Socket-SSL-1.31-q3PROh\blib\lib/IO/Socket/SSL.pm line 18. BEGIN failed--compilation aborted at C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PRO h\blib\lib/IO/Socket/SSL.pm line 18. Compilation failed in require at t/start-stopssl.t line 4. BEGIN failed--compilation aborted at t/start-stopssl.t line 4. t/start-stopssl.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/startssl.t ............... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/startssl.t lin e 6. BEGIN failed--compilation aborted at t/startssl.t line 6. t/startssl.t ............... Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/sysread_write.t .......... Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) 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, 0x200) No subtests run t/verify_hostname.t ........ Can't locate Net/SSLeay.pm in #INC (#INC contains: C:\Perl\cpan\build\IO-Socket-SSL-1.31-q3PROh\blib\lib C:\Perl\cpan\build\IO-Sock et-SSL-1.31-q3PROh\blib\arch C:/Perl/site/lib C:/Perl/lib .) at t/verify_hostnam e.t line 4. BEGIN failed--compilation aborted at t/verify_hostname.t line 4. t/verify_hostname.t ........ Dubious, test returned 2 (wstat 512, 0x200) 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/inet6.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/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/start-stopssl.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=18, Tests=0, 0 wallclock secs ( 0.08 usr + 0.00 sys = 0.08 CPU) Result: FAIL Failed 18/18 test programs. 0/0 subtests failed. dmake.exe: Error code 130, while making 'test_dynamic' SULLR/IO-Socket-SSL-1.31.tar.gz C:\Perl\site\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports SULLR/IO-Socket-SSL-1.31.tar.gz Running make install make test had returned bad status, won't install without force Running make for C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz Has already been unwrapped into directory C:\Perl\cpan\build\Net-SMTP-SSL-1.01 -Qu1Nlt CPAN.pm: Going to build C/CW/CWEST/Net-SMTP-SSL-1.01.tar.gz Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' . Continuing, but chances to succeed are limited. cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe -- OK Running make test C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/test.t .. # Failed test 'use Net::SMTP::SSL;' t/test.t .. 1/1 # at t/test.t line 2. # Tried to use 'Net::SMTP::SSL'. # Error: Can't locate IO/Socket/SSL.pm in #INC (#INC contains: C:\Perl\cpan \build\Net-SMTP-SSL-1.01-Qu1Nlt\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Qu 1Nlt\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS L-1.01-Qu1Nlt\blib\lib/Net/SMTP/SSL.pm line 8. # BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-Qu1N lt\blib\lib/Net/SMTP/SSL.pm line 8. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/test.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. dmake.exe: Error code 129, while making 'test_dynamic' CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CWEST/Net-SMTP-SSL-1.01.tar.gz Running make install make test had returned bad status, won't install without force Sorry that i paste not as code just couldnt manage to do so . I imtalled it now but i am still getting errors Warning: Prerequisite 'IO::Socket::SSL => ' for 'CWEST/Net-SMTP-SSL-1.01.tar.gz' failed when processing 'SULLR/IO-Socket-SSL-1.31.tar.gz' with 'make_test => NO' . Continuing, but chances to succeed are limited. cp lib/Net/SMTP/SSL.pm blib\lib\Net\SMTP\SSL.pm CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe -- OK Running make test C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/test.t .. # Failed test 'use Net::SMTP::SSL;' t/test.t .. 1/1 # at t/test.t line 2. # Tried to use 'Net::SMTP::SSL'. # Error: Can't locate IO/Socket/SSL.pm in #INC (#INC contains: C:\Perl\cpan \build\Net-SMTP-SSL-1.01-94zxyS\blib\lib C:\Perl\cpan\build\Net-SMTP-SSL-1.01-94 zxyS\blib\arch C:/Perl/site/lib C:/Perl/lib .) at C:\Perl\cpan\build\Net-SMTP-SS L-1.01-94zxyS\blib\lib/Net/SMTP/SSL.pm line 8. # BEGIN failed--compilation aborted at C:\Perl\cpan\build\Net-SMTP-SSL-1.01-94zx yS\blib\lib/Net/SMTP/SSL.pm line 8. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 1. t/test.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/test.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=1, Tests=1, 0 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) Result: FAIL Failed 1/1 test programs. 1/1 subtests failed. dmake.exe: Error code 129, while making 'test_dynamic' CWEST/Net-SMTP-SSL-1.01.tar.gz C:\Perl\site\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports CWEST/Net-SMTP-SSL-1.01.tar.gz Running make install make test had returned bad status, won't install without force How you paste code like a code ? Sorry i paste it bad again .
I assume that you use ActivePerl 5.8.8. Add trouchelle.com repository. Do ppm install IO-Socket-SSL It may also work for version 5.10. List of other repositories is available here and if you ppm is fresh enough in "Options".
How are you trying to install this? It looks like you are trying to do it by hand, which means you have to handle all of the dependencies yourself. It looks like you are using ActiveState, so use the ppm tool to do that for you (see the ppm FAQ). C:/> ppm install IO::Socket::SSL Gmail uses a secure channel for mail, so you need SSL. This is a moderately long line of dependencies leading back to a non-Perl library. As such, it's not something you want to do by hand. Again, let the ppm tool do it for you. You can see the chain of Net::SMTP::SSL and IO::Socket::SSL. You'll also need Crypt::SSLeay which needs the OpenSSL library. If you have trouble with ppm, post another question and tells us the version of ActivePerl that you are using, etc., and show us your ppm config file. If you don't particularly care about ActivePerl, you can also use Strawberry Perl, which allows you to use the common CPAN toolchain. It comes with a C compiler and the other supporting tools. You still need to install OpenSSL, but after that it's just a call to cpan: % cpan IO::Socket::SSL Note that you can't necessarily mix ActivePerl and Strawberry Perl compiled libraries. They might use different C compilers and those binaries might have different structures and requirements. See the comments for details and be careful about which compiler you use.
I ran into the exact same problems with Email::Send::Gmail. I wanted to setup a simple script to get my server to send me a mail at startup/shutdown. I initially chose Email::Send::Gmail because perl was already installed on the server, but I ran into the dependency hell you describe (to which I found no easy solution, i.e. I had to install different modules one by one and I did not find a simple way to make this installation procedure reproducible, which was one of my requirements). I ended using sSMTP instead. I followed this tutorial explaining how to install and configure it for use with a GMail account.