Clearly, you are attempting to install an interface-module (in Perl ...) on a system that does not yet have the software library
(SSL ...) to which the interface is intended to communicate. During the process that is supposed to automagically construct "the necessary plumbing," the libraries, header-file definitions,
etc. were found not to exist.
You'll need to install the underlying software ... SSL, what-have-you ...
first. For example, by installing some distro "package." A (Perl-)language module install-script cannot undertake to do that. (All that it can, and
did, undertake, is to recognize that the necessary software is missing.)
For further questions, surf on over to
http://www.perlmonks.org.
(See you there ...)