LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Perl module errors everywhere (https://www.linuxquestions.org/questions/linux-software-2/perl-module-errors-everywhere-4175512895/)

Toasterman 07-31-2014 03:57 PM

Perl module errors everywhere
 
1 Attachment(s)
Hello,
I recently installed Perl 5.21.2 via Perlbrew and there are a few Perl modules I need to install ASSP. Net::SSLeay keeps throwing errors whenever I try to install it. The log is attached. Thanks in advance.

http://sourceforge.net/projects/assp/

keefaz 07-31-2014 04:29 PM

Why not use cpanm, it makes installing perl modules easy
Just type as root:
Code:

cpanm Net::SSLeay
And voila, Net::SSLeay installed

sundialsvcs 07-31-2014 10:16 PM

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 ...)

Hangdog42 08-02-2014 07:47 AM

You might need to install LWP::Protocol::https. There apparently were some changes around 5.14 that keep tripping people up, particularly if they were relying on the right stuff being in Crypt::SSLeay.

Toasterman 08-04-2014 07:50 AM

Quote:

Originally Posted by keefaz (Post 5212763)
Why not use cpanm, it makes installing perl modules easy
Just type as root:
Code:

cpanm Net::SSLeay
And voila, Net::SSLeay installed

That's exactly what I was doing. That's where I got the errors from.

I just tried to install LWP::Protocol::https, but it needs Net::SSLeay as a dependency.

I have this module installed on my system Perl installation. I was able to do that by installing the CentOS packages form the repository. However, Perlbrew apparently works differently and there's not a newer version of Perl than 5.10.1 available in the repository.
Thanks for the perlmonks link.

EDIT:
It turns out I needed the openssl-devel package. Thanks everyone.


All times are GMT -5. The time now is 01:24 PM.