问题
I have tried to install Net::SSLeay though cpan to install Email::Send::SMTP::TLS but I am getting the following error.
cpan[5]> install Net::SSLeay
Running install for module 'Net::SSLeay'
Running make for M/MI/MIKEM/Net-SSLeay-1.49.tar.gz
Has already been unwrapped into directory /home/ubuntu/.cpan/build/Net-SSLeay-1.49-VDZ57t
Could not make: Unknown error
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
回答1:
On ubuntu, try
sudo apt-get install libnet-ssleay-perl
sudo apt-get install libcrypt-ssleay-perl
回答2:
In Ubuntu 12.04
sudo apt-get install libssl-dev
This resolved the issue for me
回答3:
On Centos, here's my solution:
sudo yum install perl perl-CPAN perl-Net-SSLeay perl-IO-Socket-SSL
回答4:
Try running through the process on your own manually. From the CPAN prompt:
- type
look Net::SSLeay
to go into a shell in the unpacked directory perl Makefile.PL
make
make test
make install
If there is a "README" or "INSTALL" file, try reading those too. If you come across any errors, you can append your question and maybe someone can help.
回答5:
Centos 6.5:
yum install perl-Net-SSLeay
回答6:
On Arch Linux: pacman -S perl-net-ssleay
回答7:
Try to install both dependencies listed below. It should solve the issue that you have.
sudo apt-get install libnet-ssleay-perl
sudo apt-get install libio-socket-ssl-perl
来源:https://stackoverflow.com/questions/12750662/install-perl-module-netssleay-through-cpan