Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error installing Net::SSLeay to get TLS working in napp-it

880905Aug 8 2011 — edited Aug 9 2011
Hi,

I'm using napp-it on my Solaris 11 Express server and to get email alerts through gmail I have to install Net::SMTP::TLS.
This requires two other packages, Net::SSLeay and IO::Socket::SSL.
Installing Net::SSLeay failes with:
How can I solve this?

------------------------------------------------------------------------------
cpan> install Net::SSLeay
Running install for module Net::SSLeay
Running make for F/FL/FLORA/Net-SSLeay-1.36.tar.gz
Is already unwrapped into directory /root/.cpan/build/Net-SSLeay-1.36

CPAN.pm: Going to build F/FL/FLORA/Net-SSLeay-1.36.tar.gz

Cannot determine perl version info from lib/Net/SSLeay.pm
Cannot determine license info from lib/Net/SSLeay.pm
*** Found OpenSSL-0.9.8o 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]
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay
Writing MYMETA.yml and MYMETA.json
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/Handle.pm blib/lib/Net/SSLeay/Handle.pm
/usr/bin/perl "-Iinc" /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -O2 -g -DVERSION=\"1.36\" -DXS_VERSION=\"1.36\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" SSLeay.c
cc: unrecognized option `-KPIC'
In file included from SSLeay.xs:80:
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/perl.h:2838:22: math.h: No such file or directory
SSLeay.xs: In function `ssleay_verify_callback_invoke':
SSLeay.xs:157: warning: cast from pointer to integer of different size
SSLeay.xs:164: warning: cast from pointer to integer of different size
SSLeay.xs: In function `ssleay_ctx_passwd_cb_new':
SSLeay.xs:233: warning: cast from pointer to integer of different size
SSLeay.xs:235: warning: cast from pointer to integer of different size
SSLeay.xs: In function `ssleay_ctx_passwd_cb_get':
...
SSLeay.c:6426: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Net__SSLeay_EVP_add_digest':
SSLeay.c:6532: warning: cast to pointer from integer of different size
SSLeay.c: In function `XS_Net__SSLeay_EVP_sha256':
SSLeay.c:6555: warning: cast from pointer to integer of different size
make: *** [SSLeay.o] Error 1
/usr/gnu/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
This post has been answered by abrante on Aug 9 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2011
Added on Aug 8 2011
4 comments
2,092 views