Oracle Solaris 11.3 beta

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

sundaydiver

New Member
Aug 24, 2015
9
0
1
43
I have spun up a home NAS instance using napp-it and Solaris 11.3, and all is ok, except for TLS mail. How do I set this up in solaris 11.3?
The napp-it instructions don't seem to work out of the box.

The 11.3 pre-packaged Net::SSLeay is only at version 1.36, and it seems to require 1.46. (command 'install Net::SMTP::TLS' results in "Error: Net::SSLeay version 1.46 required").

So, I downloaded Net-SSLeay-1.70 and tried to compile but get as follows:
perl Makefile.PL
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.

gcc is installed on the systems, so this is the limit of my ability to fix this.

Any pointers?
 

gea

Well-Known Member
Dec 31, 2010
3,161
1,195
113
DE
I am not aware of a solution.
Net::SSLeay (at least the current, one may check a former release) is not working.

Currently the only workaround is unencrypted mail for example to a maillist or forwarder or push alerts to your smartphone.
 

nickveldrin

New Member
Sep 4, 2013
23
3
3
I have spun up a home NAS instance using napp-it and Solaris 11.3, and all is ok, except for TLS mail. How do I set this up in solaris 11.3?
The napp-it instructions don't seem to work out of the box.

The 11.3 pre-packaged Net::SSLeay is only at version 1.36, and it seems to require 1.46. (command 'install Net::SMTP::TLS' results in "Error: Net::SSLeay version 1.46 required").

So, I downloaded Net-SSLeay-1.70 and tried to compile but get as follows:
perl Makefile.PL
Unresolvable missing external dependency.
This package requires a C compiler.
NA: Unable to build distribution on this platform.

gcc is installed on the systems, so this is the limit of my ability to fix this.

Any pointers?
Hey sundaydiver, i'm not sure if this will fix it, but i've been looking to test out this new Solaris beta with napp-it, and have begun by preliminarily reading through some of the Oracle docs about this new build.

I saw a section in one of the docs that said that there's a bug with the compilers where it doesn't have the header file locations set correctly. Here's the section and what you need to do to fix it:

GCC 4.5.2, 4.7.3, and 4.8.2 Packages Do Not Provide include-fixed Header Files
The GCC 4.5.2, 4.7.3, and 4.8.2 packages do not automatically generate header files in the
include-fixed GCC install directory. You might see compiler error messages when building
applications that include header files that are not ANSI compliant.

Workaround: To generate the compliant versions of the affected header files, type the following
commands:
Code:
# for script in /usr/gcc/4.*/lib/gcc/*-solaris2.11/4.*/install-tools/mkheaders ; do
> ${script}
> done

Please report if this fixes, as i won't be able to work on my system and install this new build until this weekend.
 

sundaydiver

New Member
Aug 24, 2015
9
0
1
43
Hey sundaydiver, i'm not sure if this will fix it, but i've been looking to test out this new Solaris beta with napp-it, and have begun by preliminarily reading through some of the Oracle docs about this new build.

I saw a section in one of the docs that said that there's a bug with the compilers where it doesn't have the header file locations set correctly. Here's the section and what you need to do to fix it:

GCC 4.5.2, 4.7.3, and 4.8.2 Packages Do Not Provide include-fixed Header Files
The GCC 4.5.2, 4.7.3, and 4.8.2 packages do not automatically generate header files in the
include-fixed GCC install directory. You might see compiler error messages when building
applications that include header files that are not ANSI compliant.

Workaround: To generate the compliant versions of the affected header files, type the following
commands:
Code:
# for script in /usr/gcc/4.*/lib/gcc/*-solaris2.11/4.*/install-tools/mkheaders ; do
> ${script}
> done

Please report if this fixes, as i won't be able to work on my system and install this new build until this weekend.
Does not fix. Same error.
 

nickveldrin

New Member
Sep 4, 2013
23
3
3
Hmm. Maybe try this one, after you validate what path seems to get called, and if tools may exist in one or the other?
/usr/ccs/bin Is a Symbolic Link to /usr/bin

The /usr/ccs/bin directory is a symbolic link to /usr/bin

Because of this change, for example, the /usr/ccs/bin:/usr/gnu/bin:/usr/bin path in the
PATH environment variable is now equivalent to /usr/bin:/usr/gnu/bin. This change might
result in changes to the utilities that are found by PATH searches.

If the /usr/ccs/bin change causes issues in locating GNU utilities, the PATH environment
variable should be rearranged to place /usr/gnu/bin earlier than /usr/bin or utilities should
be invoked with a full path.
 

nickveldrin

New Member
Sep 4, 2013
23
3
3
Okay, i see where the problems are, but not how to solve them. I'm only somewhat proficient in unix based operating systems, and don't even know enough on Solaris to be dangerous.

I'll outline the specific issues below.

If using napp-it's directions on the TLS menu item, it wants you to look at http://napp-it.org/downloads/tls.html
From there, it says to run these commands:
Code:
perl -MCPAN -e shell
notest install Net::SSLeay
notest install IO::Socket::SSL
notest install Net::SMTP::TLS
exit;
Net::SSLeay will complain that there is no C compiler, so it won't create a Makefile. The other two python apps install. Not helpful.

Then, the wepage says to try to install the native solaris page of net-ssleay, but that doesnt work either, because the python apps, and napp-it, are both looking for net-ssleay to be at a specific version. Something higher than 1.46 if i remember correctly. Solaris's package is this:

Code:
root@haswell:~# pkg info net-ssleay
  Name: library/perl-5/net-ssleay
  Summary: Net::SSLeay- Perl extension for using OpenSSL
  Category: Development/Perl
  State: Installed
  Publisher: solaris
  Version: 1.36
Build Release: 5.11
  Branch: 0.175.3.0.0.25.3
Packaging Date: June 22, 2015 12:15:11 AM
  Size: 5.46 kB
  FMRI: pkg://solaris/library/perl-5/net-ssleay@1.36,5.11-0.175.3.0.0.25.3:20150622T001511Z
If you try to use the Solaris version of net-ssleay, then you get these errors when trying to go to the page for tls-test:
Code:
[SIZE=6][B]Software error:[/B][/SIZE]
Net::SSLeay version 1.46 required--this is only version 1.36 at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19.
BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19.
Compilation failed in require at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91.
BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91.
Compilation failed in require at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76.
BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[SIZE=6][B]Software error:[/B][/SIZE]
[Mon Sep 7 04:11:34 2015] admin.pl: Net::SSLeay version 1.46 required--this is only version 1.36 at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19.
[Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19.
[Mon Sep 7 04:11:34 2015] admin.pl: Compilation failed in require at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91.
[Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91.
[Mon Sep 7 04:11:34 2015] admin.pl: Compilation failed in require at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76.
[Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76.
Compilation failed in require at admin.pl line 530.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: Net::SSLeay version 1.46 required--this is only version 1.36 at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19. [Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /usr/perl5/site_perl/5.12/IO/Socket/SSL.pm line 19. [Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: Compilation failed in require at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91. [Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/CGI/Net/SMTP/TLS.pm line 91. [Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: Compilation failed in require at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76. [Mon Sep 7 04:11:34 2015] admin.pl: [Mon Sep 7 04:11:34 2015] admin.pl: BEGIN failed--compilation aborted at /var/web-gui/data/napp-it/zfsos/15_jobs and data services/04_TLS Email/09_TLS-test/action.pl line 76. [Mon Sep 7 04:11:34 2015] admin.pl: Compilation failed in require at admin.pl line 530.{/CODE]

So i don't know which proper C compiler to get that would work, since the few articles i found on net-ssleay say that you want to compile perl, openssl, and net-ssleay using the same compiler. Maybe the Oracle Solaris Studio is the way to go? [URL]https://docs.oracle.com/cd/E24457_01/index.html[/URL]

I'll see if i can attempt that next.

One workaround that i use at home instead of dealing with authentication with smtp, is that i use an open source app called emailrelay, which i use on a windows server (mostly cause i run a large majority windows VMs at home). emailrelay will do the ssl connection and relaying of mail to your real smtp server and provide you a listening port that doesn't require authentication and listens over plaintext.

Link for emailrelay - [URL]http://emailrelay.sourceforge.net/[/URL]

I'll update if i can figure out the Solaris Studio stuff and get a C compiler on my box.
 

nickveldrin

New Member
Sep 4, 2013
23
3
3
Ok I got it to work, but just need to figure out how to get the path to stick in this new Solaris.

What you need to do is download and install the Solaris Studio 12.4 runtime libraries and add them to your path. Then i was able to install the Net::SSLeay library and napp-it was able to send via TLS to smtp.gmail.com.

Here's a link to install the runtime libraries - Installing Only the Runtime Libraries on Oracle Solaris 11 - Oracle® Solaris Studio 12.4: InstallationGuide
Then you can validate your stuff by following these instructions - Setting Up Access to the Developer Tools and Man Pages - Oracle® Solaris Studio 12.4: InstallationGuide

Once you have it in your path, install the Net::SSLeay. If it's anything like mine, you will get tens of thousands of warnings, but it'll work.

Here's my output:
Code:
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
If someone can give me a pointer about getting the PATH export set properly, like what file and what to put, i would appreciate it. It's not respecting my ~/.bashrc or /etc/bash/bashrc
 

sundaydiver

New Member
Aug 24, 2015
9
0
1
43
Ok I got it to work, but just need to figure out how to get the path to stick in this new Solaris.

What you need to do is download and install the Solaris Studio 12.4 runtime libraries and add them to your path. Then i was able to install the Net::SSLeay library and napp-it was able to send via TLS to smtp.gmail.com.

Here's a link to install the runtime libraries - Installing Only the Runtime Libraries on Oracle Solaris 11 - Oracle® Solaris Studio 12.4: InstallationGuide
Then you can validate your stuff by following these instructions - Setting Up Access to the Developer Tools and Man Pages - Oracle® Solaris Studio 12.4: InstallationGuide

Once you have it in your path, install the Net::SSLeay. If it's anything like mine, you will get tens of thousands of warnings, but it'll work.

Here's my output:
Code:
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
If someone can give me a pointer about getting the PATH export set properly, like what file and what to put, i would appreciate it. It's not respecting my ~/.bashrc or /etc/bash/bashrc
Great work nickveldrin. I can confirm that this works for me too.

Update your .profile file in directory /export/home/<user> to include the extra PATH variable. Mine says
"export PATH=/usr/bin:/usr/sbin:/opt/solarisstudio12.4/bin"
 

nickveldrin

New Member
Sep 4, 2013
23
3
3
Great work nickveldrin. I can confirm that this works for me too.

Update your .profile file in directory /export/home/<user> to include the extra PATH variable. Mine says
"export PATH=/usr/bin:/usr/sbin:/opt/solarisstudio12.4/bin"
Excellent to hear that it worked for you as well.

I have contributed a bit to the napp-it project relating to fiber channel stuff, since i decided to buy one to learn on at home. It was instrumental in my knowledge, and i'm one of only three people on my work team that's allowed to touch, play with, and merge things into our FC fabrics. With our new fully populated Cisco MDS 9710s packed with 48 port 16gb line rate linecards, we are definitely going to be set at that location for core space for a while. Or at least we can hope.