root@haswell:~# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v2.10)
Enter 'h' for help.
cpan[1]> install Net::SSLeay
Reading '/root/.cpan/Metadata'
Database was generated on Sun, 06 Sep 2015 21:41:02 GMT
Running install for module 'Net::SSLeay'
Checksum for /root/.cpan/sources/authors/id/M/MI/MIKEM/Net-SSLeay-1.70.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
'YAML' not installed, will not store persistent state
Configuring M/MI/MIKEM/Net-SSLeay-1.70.tar.gz with Makefile.PL
*** Found OpenSSL-1.0.1o installed in /usr
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
and Net::SSLeay. Mixing and matching compilers is not supported.
Do you want to run external tests?
These tests *will* *fail* if you do not have network connectivity. [n] n
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay
MIKEM/Net-SSLeay-1.70.tar.gz
/usr/perl5/5.12/bin/perl Makefile.PL -- OK
Running make for M/MI/MIKEM/Net-SSLeay-1.70.tar.gz
Could not read metadata file. Falling back to other methods to determine prerequisites
cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
directory blib/lib/auto/Net/SSLeay:
do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
/usr/perl5/5.12/bin/perl "-Iinc" /usr/perl5/5.12/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.12/lib/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include -DPTR_IS_LONG -I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO4 -DVERSION=\"1.70\" -DXS_VERSION=\"1.70\" -KPIC "-I/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE" SSLeay.c
"/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE/proto.h", line 38: warning: attribute "nonnull" is unknown, ignored
[ -- clip -- ] [ -- clip --]
"/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE/proto.h", line 6832: warning: attribute "nonnull" is unknown, ignored
"SSLeay.xs", line 481: warning: attribute "unused" is unknown, ignored
"SSLeay.c", line 1393: warning: attribute "unused" is unknown, ignored
[ -- clip -- ] [ -- clip --]
"SSLeay.c", line 2383: warning: attribute "unused" is unknown, ignored
"SSLeay.xs", line 1712: warning: statement not reached
"SSLeay.c", line 2424: warning: attribute "unused" is unknown, ignored
[ -- clip -- ] [ -- clip --]
"SSLeay.c", line 12696: warning: attribute "unused" is unknown, ignored
"SSLeay.c", line 12728: warning: argument #3 is incompatible with prototype:
prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/usr/include/openssl/pem.h", line 450
argument : pointer to void
"SSLeay.c", line 12735: warning: attribute "unused" is unknown, ignored
[ -- clip -- ] [ -- clip --]
"SSLeay.c", line 15833: warning: attribute "unused" is unknown, ignored
"SSLeay.c", line 15836: warning: attribute "unused" is unknown, ignored
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
LD_RUN_PATH="/usr/lib" cc -G -L/usr -L/usr/lib -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib SSLeay.o -o blib/arch/auto/Net/SSLeay/SSLeay.so \
-L/usr -L/usr/lib -lssl -lcrypto -lz \
chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs
Manifying blib/man3/Net::SSLeay.3
Manifying blib/man3/Net::SSLeay::Handle.3
MIKEM/Net-SSLeay-1.70.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/perl5/5.12/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/local/*.t t/handle/local/*.t
t/handle/local/05_use.t ................ ok
t/local/01_pod.t ....................... skipped: Test::Pod 1.00 required for testing POD
t/local/02_pod_coverage.t .............. skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1
t/local/03_use.t ....................... ok
t/local/04_basic.t ..................... ok
t/local/05_passwd_cb.t ................. ok
t/local/06_tcpecho.t ................... ok
t/local/07_sslecho.t ................... ok
t/local/08_pipe.t ...................... ok
t/local/15_bio.t ....................... ok
t/local/20_autoload.t .................. skipped: Some tests need Test::Exception
t/local/21_constants.t ................. skipped: Some tests need Test::Exception
t/local/30_error.t ..................... skipped: Requires Test::Exception, Test::Warn and Test::NoWarnings
t/local/31_rsa_generate_key.t .......... skipped: Test::Exception required
t/local/32_x509_get_cert_info.t ........ ok
t/local/33_x509_create_cert.t .......... ok
t/local/34_x509_crl.t .................. ok
t/local/35_ephemeral.t ................. ok
t/local/36_verify.t .................... ok
t/local/37_asn1_time.t ................. ok
t/local/38_priv-key.t .................. ok
t/local/39_pkcs12.t .................... ok
t/local/40_npn_support.t ............... ok
t/local/41_alpn_support.t .............. skipped: openssl 1.0.2 required
t/local/42_info_callback.t ............. ok
t/local/50_digest.t .................... ok
t/local/61_threads-cb-crash.t .......... skipped: your perl is not compiled with ithreads or is pre-5.8
t/local/62_threads-ctx_new-deadlock.t .. skipped: your perl is not compiled with ithreads or is pre-5.8
t/local/kwalitee.t ..................... skipped: these tests are for only for release candidate testing. Enable with RELEASE_TESTING=1
All tests successful.
Files=29, Tests=1832, 4 wallclock secs ( 0.22 usr 0.06 sys + 3.13 cusr 0.05 csys = 3.46 CPU)
Result: PASS
MIKEM/Net-SSLeay-1.70.tar.gz
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/perl5/site_perl/5.12/i86pc-solaris-64int/auto/Net/SSLeay/SSLeay.so
Installing /usr/perl5/site_perl/5.12/i86pc-solaris-64int/auto/Net/SSLeay/SSLeay.bs
Installing /usr/perl5/site_perl/5.12/i86pc-solaris-64int/Net/SSLeay.pm
Installing /usr/perl5/site_perl/5.12/i86pc-solaris-64int/Net/SSLeay.pod
[ -- clip -- ] [ -- clip --]
Installing /usr/perl5/site_perl/5.12/i86pc-solaris-64int/auto/Net/SSLeay/do_httpx2.al
Installing /usr/perl5/5.12/man/man3/Net::SSLeay::Handle.3
Installing /usr/perl5/5.12/man/man3/Net::SSLeay.3
Appending installation info to /usr/perl5/5.12/lib/i86pc-solaris-64int/perllocal.pod
MIKEM/Net-SSLeay-1.70.tar.gz
/usr/bin/make install -- OK