I would like some help with a problem i am having with installing a Perl module IO::Socket::SSL. I am not very Knowledgeable in Perl, linux and so forth... Thus any help would be appreciated!!
I need the module for the spotty addtion in the LMS server on my Qnap TS-439 Pro II+ (running 4.2.6 (20170620))
I tried this:
Code: Select all
cpan[2]> install IO::Socket::SSL
CPAN: Storable loaded ok (v2.18)
CPAN: Time::HiRes loaded ok (v1.9711)
I would like to connect to one of the following sites to get 'authors/01mailrc.t xt.gz':
http://www.perl.org/CPAN/
ftp://ftp.perl.org/pub/CPAN/
Is it OK to try to connect to the Internet? [yes]
LWP not available
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.008)
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
............................................................................DONE
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 21 Jul 2017 12:54:00 GMT
HTTP::Date not available
.............
New CPAN.pm version (v2.16) available.
[Currently running version is v1.9205]
You might want to try
install CPAN
reload cpan
to both upgrade CPAN.pm and run the new version without leaving
the current session.
...............................................................DONE
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
DONE
Going to write /root/.cpan/Metadata
Running install for module 'IO::Socket::SSL'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/S/SU/SULLR/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DONE
IO-Socket-SSL-2.049/
IO-Socket-SSL-2.049/README.Win32
IO-Socket-SSL-2.049/lib/
IO-Socket-SSL-2.049/lib/IO/
IO-Socket-SSL-2.049/lib/IO/Socket/
IO-Socket-SSL-2.049/lib/IO/Socket/SSL/
IO-Socket-SSL-2.049/lib/IO/Socket/SSL/Utils.pm
IO-Socket-SSL-2.049/lib/IO/Socket/SSL/PublicSuffix.pm
IO-Socket-SSL-2.049/lib/IO/Socket/SSL/Intercept.pm
IO-Socket-SSL-2.049/lib/IO/Socket/SSL.pod
IO-Socket-SSL-2.049/lib/IO/Socket/SSL.pm
IO-Socket-SSL-2.049/README
IO-Socket-SSL-2.049/META.json
IO-Socket-SSL-2.049/Changes
IO-Socket-SSL-2.049/example/
IO-Socket-SSL-2.049/example/simulate_proxy.pl
IO-Socket-SSL-2.049/example/ssl_server.pl
IO-Socket-SSL-2.049/example/ssl_mitm.pl
IO-Socket-SSL-2.049/example/async_https_server.pl
IO-Socket-SSL-2.049/example/lwp-with-verifycn.pl
IO-Socket-SSL-2.049/example/ssl_client.pl
IO-Socket-SSL-2.049/t/
IO-Socket-SSL-2.049/t/dhe.t
IO-Socket-SSL-2.049/t/compatibility.t
IO-Socket-SSL-2.049/t/verify_fingerprint.t
IO-Socket-SSL-2.049/t/cert_no_file.t
IO-Socket-SSL-2.049/t/io-socket-inet6.t
IO-Socket-SSL-2.049/t/cert_formats.t
IO-Socket-SSL-2.049/t/io-socket-ip.t
IO-Socket-SSL-2.049/t/mitm.t
IO-Socket-SSL-2.049/t/start-stopssl.t
IO-Socket-SSL-2.049/t/protocol_version.t
IO-Socket-SSL-2.049/t/readline.t
IO-Socket-SSL-2.049/t/memleak_bad_handshake.t
IO-Socket-SSL-2.049/t/signal-readline.t
IO-Socket-SSL-2.049/t/sessions.t
IO-Socket-SSL-2.049/t/sni_verify.t
IO-Socket-SSL-2.049/t/testlib.pl
IO-Socket-SSL-2.049/t/verify_hostname_standalone.t
IO-Socket-SSL-2.049/t/public_suffix_lib_encode_idn.t
IO-Socket-SSL-2.049/t/public_suffix_lib.pl
IO-Socket-SSL-2.049/t/connectSSL-timeout.t
IO-Socket-SSL-2.049/t/session_ticket.t
IO-Socket-SSL-2.049/t/alpn.t
IO-Socket-SSL-2.049/t/public_suffix_ssl.t
IO-Socket-SSL-2.049/t/acceptSSL-timeout.t
IO-Socket-SSL-2.049/t/public_suffix_lib_uri.t
IO-Socket-SSL-2.049/t/startssl-failed.t
IO-Socket-SSL-2.049/t/external/
IO-Socket-SSL-2.049/t/external/usable_ca.t
IO-Socket-SSL-2.049/t/external/fingerprint.pl
IO-Socket-SSL-2.049/t/external/ocsp.t
IO-Socket-SSL-2.049/t/sni.t
IO-Socket-SSL-2.049/t/plain_upgrade_downgrade.t
IO-Socket-SSL-2.049/t/sysread_write.t
IO-Socket-SSL-2.049/t/public_suffix_lib_libidn.t
IO-Socket-SSL-2.049/t/nonblock.t
IO-Socket-SSL-2.049/t/npn.t
IO-Socket-SSL-2.049/t/01loadmodule.t
IO-Socket-SSL-2.049/t/verify_hostname.t
IO-Socket-SSL-2.049/t/core.t
IO-Socket-SSL-2.049/t/auto_verify_hostname.t
IO-Socket-SSL-2.049/t/ecdhe.t
IO-Socket-SSL-2.049/t/startssl.t
IO-Socket-SSL-2.049/certs/
IO-Socket-SSL-2.049/certs/my-ca.pem
IO-Socket-SSL-2.049/certs/server-cert.pem
IO-Socket-SSL-2.049/certs/server-key.enc
IO-Socket-SSL-2.049/certs/server-key.der
IO-Socket-SSL-2.049/certs/proxyca.pem
IO-Socket-SSL-2.049/certs/client-key.pem
IO-Socket-SSL-2.049/certs/server-cert.der
IO-Socket-SSL-2.049/certs/test-ca.pem
IO-Socket-SSL-2.049/certs/server-rsa384-dh.pem
IO-Socket-SSL-2.049/certs/server_enc.p12
IO-Socket-SSL-2.049/certs/server.p12
IO-Socket-SSL-2.049/certs/server-wildcard.pem
IO-Socket-SSL-2.049/certs/client-cert.pem
IO-Socket-SSL-2.049/certs/server-key.pem
IO-Socket-SSL-2.049/certs/client-key.enc
IO-Socket-SSL-2.049/BUGS
IO-Socket-SSL-2.049/META.yml
IO-Socket-SSL-2.049/Makefile.PL
IO-Socket-SSL-2.049/MANIFEST
IO-Socket-SSL-2.049/docs/
IO-Socket-SSL-2.049/docs/debugging.txt
CPAN: File::Temp loaded ok (v0.18)
Warning (usually harmless): 'YAML' not installed, will not store persistent state
CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz
Should I do external tests?
These test will detect if there are network problems and fail soft,
so please disable them only if you definitely don't want to have any
network traffic to external sites. [Y/n] Y
Checking if your kit is complete...
Looks good
Warning: prerequisite Mozilla::CA 0 not found.
Warning: prerequisite Net::SSLeay 1.46 not found.
Writing Makefile for IO::Socket::SSL
Could not read '/root/.cpan/build/IO-Socket-SSL-2.049-aGp5R4/META.yml'. Falling back to other methods to determine prerequisites
---- Unsatisfied dependencies detected during ----
---- SULLR/IO-Socket-SSL-2.049.tar.gz ----
Net::SSLeay [requires]
Mozilla::CA [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] yes
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Net::SSLeay'
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for M/MI/MIKEM/Net-SSLeay-1.81.tar.gz
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/M/MI/MIKEM/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/M/MI/MIKEM/Net-SSLeay-1.81.tar.gz ok
Net-SSLeay-1.81/
Net-SSLeay-1.81/constants.c
Net-SSLeay-1.81/examples/
Net-SSLeay-1.81/examples/stdio_bulk.pl
Net-SSLeay-1.81/examples/tcpcat.pl
Net-SSLeay-1.81/examples/passwd-cb.pl
Net-SSLeay-1.81/examples/cli-cert.pl
Net-SSLeay-1.81/examples/req.conf
Net-SSLeay-1.81/examples/bulk.pl
Net-SSLeay-1.81/examples/https-proxy-snif.pl
Net-SSLeay-1.81/examples/get_page.pl
Net-SSLeay-1.81/examples/sslcat.pl
Net-SSLeay-1.81/examples/ssl-inetd-serv.pl
Net-SSLeay-1.81/examples/ephemeral.pl
Net-SSLeay-1.81/examples/minicli.pl
Net-SSLeay-1.81/examples/get_authenticated_page.pl
Net-SSLeay-1.81/examples/tcpecho.pl
Net-SSLeay-1.81/examples/bio.pl
Net-SSLeay-1.81/examples/ssl_diff.pl
Net-SSLeay-1.81/examples/makecert.pl
Net-SSLeay-1.81/examples/callback.pl
Net-SSLeay-1.81/examples/x509_cert_details.pl
Net-SSLeay-1.81/examples/get_page_cert.pl
Net-SSLeay-1.81/examples/server_key.pem
Net-SSLeay-1.81/examples/sslecho.pl
Net-SSLeay-1.81/examples/cb-testi.pl
Net-SSLeay-1.81/MANIFEST
Net-SSLeay-1.81/README.VMS
Net-SSLeay-1.81/ppport.h
Net-SSLeay-1.81/lib/
Net-SSLeay-1.81/lib/Net/
Net-SSLeay-1.81/lib/Net/SSLeay.pm
Net-SSLeay-1.81/lib/Net/SSLeay/
Net-SSLeay-1.81/lib/Net/SSLeay/Handle.pm
Net-SSLeay-1.81/lib/Net/SSLeay.pod
Net-SSLeay-1.81/t/
Net-SSLeay-1.81/t/external/
Net-SSLeay-1.81/t/external/08_external.t
Net-SSLeay-1.81/t/external/20_cert_chain.t
Net-SSLeay-1.81/t/external/ocsp.t
Net-SSLeay-1.81/t/external/15_altnames.t
Net-SSLeay-1.81/t/local/
Net-SSLeay-1.81/t/local/05_passwd_cb.t
Net-SSLeay-1.81/t/local/39_pkcs12.t
Net-SSLeay-1.81/t/local/50_digest.t
Net-SSLeay-1.81/t/local/06_tcpecho.t
Net-SSLeay-1.81/t/local/33_x509_create_cert.t
Net-SSLeay-1.81/t/local/31_rsa_generate_key.t
Net-SSLeay-1.81/t/local/08_pipe.t
Net-SSLeay-1.81/t/local/62_threads-ctx_new-deadlock.t
Net-SSLeay-1.81/t/local/07_sslecho.t
Net-SSLeay-1.81/t/local/40_npn_support.t
Net-SSLeay-1.81/t/local/42_info_callback.t
Net-SSLeay-1.81/t/local/37_asn1_time.t
Net-SSLeay-1.81/t/local/35_ephemeral.t
Net-SSLeay-1.81/t/local/21_constants.t
Net-SSLeay-1.81/t/local/30_error.t
Net-SSLeay-1.81/t/local/kwalitee.t
Net-SSLeay-1.81/t/local/64_ticket_sharing.t
Net-SSLeay-1.81/t/local/01_pod.t
Net-SSLeay-1.81/t/local/34_x509_crl.t
Net-SSLeay-1.81/t/local/61_threads-cb-crash.t
Net-SSLeay-1.81/t/local/04_basic.t
Net-SSLeay-1.81/t/local/36_verify.t
Net-SSLeay-1.81/t/local/03_use.t
Net-SSLeay-1.81/t/local/38_priv-key.t
Net-SSLeay-1.81/t/local/32_x509_get_cert_info.t
Net-SSLeay-1.81/t/local/15_bio.t
Net-SSLeay-1.81/t/local/02_pod_coverage.t
Net-SSLeay-1.81/t/local/41_alpn_support.t
Net-SSLeay-1.81/t/local/20_autoload.t
Net-SSLeay-1.81/t/local/63_ec_key_generate_key.t
Net-SSLeay-1.81/t/handle/
Net-SSLeay-1.81/t/handle/external/
Net-SSLeay-1.81/t/handle/external/10_destroy.t
Net-SSLeay-1.81/t/handle/external/50_external.t
Net-SSLeay-1.81/t/handle/local/
Net-SSLeay-1.81/t/handle/local/05_use.t
Net-SSLeay-1.81/t/data/
Net-SSLeay-1.81/t/data/cert_twitter.crt.pem
Net-SSLeay-1.81/t/data/cert_paypal.crt.pem_dump
Net-SSLeay-1.81/t/data/cert_paypal.crt.pem
Net-SSLeay-1.81/t/data/pkcs12-no-chain.p12
Net-SSLeay-1.81/t/data/pkcs12-full.p12
Net-SSLeay-1.81/t/data/cert_twitter.crt.pem_dump
Net-SSLeay-1.81/t/data/verisign.crl.pem
Net-SSLeay-1.81/t/data/testcert_simple.crt.pem_dump
Net-SSLeay-1.81/t/data/test_CA1.encrypted_key.pem
Net-SSLeay-1.81/t/data/testreq1.der
Net-SSLeay-1.81/t/data/key.pem
Net-SSLeay-1.81/t/data/verisign.crl.der
Net-SSLeay-1.81/t/data/test_CA1.crt.pem
Net-SSLeay-1.81/t/data/testcert_extended.crt.pem_dump
Net-SSLeay-1.81/t/data/testcert_cdp.crt.pem
Net-SSLeay-1.81/t/data/testcert_simple.crt.pem
Net-SSLeay-1.81/t/data/testcert_strange.crt.pem_dump
Net-SSLeay-1.81/t/data/test_CA1.key.der
Net-SSLeay-1.81/t/data/key.pem.e
Net-SSLeay-1.81/t/data/binary-test.file
Net-SSLeay-1.81/t/data/cert.pem
Net-SSLeay-1.81/t/data/testcert_strange.crt.pem
Net-SSLeay-1.81/t/data/testreq1.pem
Net-SSLeay-1.81/t/data/testcert_simple.crt.der
Net-SSLeay-1.81/t/data/testcert_cdp.crt.pem_dump
Net-SSLeay-1.81/t/data/pkcs12-no-passwd.p12
Net-SSLeay-1.81/t/data/test_CA1.crl.der
Net-SSLeay-1.81/t/data/testcert_extended.crt.pem
Net-SSLeay-1.81/t/data/test_CA1.key.pem
Net-SSLeay-1.81/t/data/test_CA1.crt.der
Net-SSLeay-1.81/README.OSX
Net-SSLeay-1.81/Credits
Net-SSLeay-1.81/QuickRef
Net-SSLeay-1.81/typemap
Net-SSLeay-1.81/META.yml
Net-SSLeay-1.81/README
Net-SSLeay-1.81/LICENSE
Net-SSLeay-1.81/Makefile.PL
Net-SSLeay-1.81/README.Win32
Net-SSLeay-1.81/helper_script/
Net-SSLeay-1.81/helper_script/regen_openssl_constants.pl
Net-SSLeay-1.81/SSLeay.xs
Net-SSLeay-1.81/inc/
Net-SSLeay-1.81/inc/Module/
Net-SSLeay-1.81/inc/Module/Install/
Net-SSLeay-1.81/inc/Module/Install/PRIVATE/
Net-SSLeay-1.81/inc/Module/Install/PRIVATE/Net/
Net-SSLeay-1.81/inc/Module/Install/PRIVATE/Net/SSLeay.pm
Net-SSLeay-1.81/inc/Module/Install/Fetch.pm
Net-SSLeay-1.81/inc/Module/Install/WriteAll.pm
Net-SSLeay-1.81/inc/Module/Install/External.pm
Net-SSLeay-1.81/inc/Module/Install/Can.pm
Net-SSLeay-1.81/inc/Module/Install/Metadata.pm
Net-SSLeay-1.81/inc/Module/Install/Win32.pm
Net-SSLeay-1.81/inc/Module/Install/Makefile.pm
Net-SSLeay-1.81/inc/Module/Install/Base.pm
Net-SSLeay-1.81/inc/Module/Install.pm
Net-SSLeay-1.81/Changes
Warning (usually harmless): 'YAML' not installed, will not store persistent state
CPAN.pm: Going to build M/MI/MIKEM/Net-SSLeay-1.81.tar.gz
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.
Warning (usually harmless): 'YAML' not installed, will not store persistent state
MIKEM/Net-SSLeay-1.81.tar.gz
/opt/bin/perl Makefile.PL -- NO Makefile created
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Running install for module 'Mozilla::CA'
'YAML' not installed, falling back to Data::Dumper and Storable to read prefs '/root/.cpan/prefs'
Running make for A/AB/ABH/Mozilla-CA-20160104.tar.gz
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-20160104.tar.gz
Trying with "/sbin/curl -L -f -s -S --netrc-optional" to get
http://www.perl.org/CPAN/authors/id/A/AB/ABH/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/A/AB/ABH/Mozilla-CA-20160104.tar.gz ok
Mozilla-CA-20160104/
Mozilla-CA-20160104/Changes
Mozilla-CA-20160104/lib/
Mozilla-CA-20160104/Makefile.PL
Mozilla-CA-20160104/MANIFEST
Mozilla-CA-20160104/META.json
Mozilla-CA-20160104/META.yml
Mozilla-CA-20160104/mk-ca-bundle.pl
Mozilla-CA-20160104/README
Mozilla-CA-20160104/t/
Mozilla-CA-20160104/update-cacert-file
Mozilla-CA-20160104/t/locate-file.t
Mozilla-CA-20160104/lib/Mozilla/
Mozilla-CA-20160104/lib/Mozilla/CA/
Mozilla-CA-20160104/lib/Mozilla/CA.pm
Mozilla-CA-20160104/lib/Mozilla/CA/cacert.pem
Warning (usually harmless): 'YAML' not installed, will not store persistent state
CPAN.pm: Going to build A/AB/ABH/Mozilla-CA-20160104.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Mozilla::CA
Could not read '/root/.cpan/build/Mozilla-CA-20160104-uxckbg/META.yml'. Falling back to other methods to determine prerequisites
Can't exec "make": No such file or directory at /opt/lib/perl5/5.10.0/CPAN.pm line 7698.
ABH/Mozilla-CA-20160104.tar.gz
make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
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-2.049.tar.gz
Has already been unwrapped into directory /root/.cpan/build/IO-Socket-SSL-2.049-aGp5R4
CPAN.pm: Going to build S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz
Warning: Prerequisite 'Net::SSLeay => 1.46' for 'S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz' failed when processing 'M/MI/MIKEM/Net-SSLeay-1.81.tar.gz' with 'writemakefile => NO -- No Makefile created'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Mozilla::CA => 0' for 'S/SU/SULLR/IO-Socket-SSL-2.049.tar.gz' failed when processing 'A/AB/ABH/Mozilla-CA-20160104.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Can't exec "make": No such file or directory at /opt/lib/perl5/5.10.0/CPAN.pm line 7698.
SULLR/IO-Socket-SSL-2.049.tar.gz
make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Could not read '/root/.cpan/build/Net-SSLeay-1.81-ugjzbZ/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
MIKEM/Net-SSLeay-1.81.tar.gz : writemakefile NO -- No Makefile created
ABH/Mozilla-CA-20160104.tar.gz : make NO
SULLR/IO-Socket-SSL-2.049.tar.gz : make NO
Something went right... But also something went wrong... How can I make the next step...
Is there any kind soul that can help?
Greeting from the netherlands,
Confused Johan