anaconda_wly has asked for the wisdom of the Perl Monks concerning the following question:
I want to install Net::SSLeay and Net::SSH2. When I type: cpan> install Net::SSLeay I got error after downloading finished:
......downloading something I didn't print out all..... Net-SSLeay-1.52/examples/server_key.pem
Net-SSLeay-1.52/examples/ephemeral.pl
Net-SSLeay-1.52/examples/passwd-cb.pl
Net-SSLeay-1.52/examples/tcpcat.pl
Net-SSLeay-1.52/examples/sslcat.pl
Net-SSLeay-1.52/examples/bio.pl
Net-SSLeay-1.52/examples/cli-cert.pl
Net-SSLeay-1.52/examples/ssl-inetd-serv.pl
Net-SSLeay-1.52/examples/callback.pl
Net-SSLeay-1.52/examples/get_page_cert.pl
Net-SSLeay-1.52/examples/get_page.pl
Net-SSLeay-1.52/examples/tcpecho.pl
Net-SSLeay-1.52/examples/x509_cert_details.pl
Net-SSLeay-1.52/examples/bulk.pl
Net-SSLeay-1.52/examples/req.conf
Net-SSLeay-1.52/examples/sslecho.pl
Net-SSLeay-1.52/examples/makecert.pl
Net-SSLeay-1.52/examples/get_authenticated_page.pl
Net-SSLeay-1.52/examples/ssl_diff.pl
Net-SSLeay-1.52/examples/minicli.pl
Net-SSLeay-1.52/examples/stdio_bulk.pl
CPAN.pm: Going to build M/MI/MIKEM/Net-SSLeay-1.52.tar.gz
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Checking if your kit is complete...
Looks good
Warning: Guessing NAME Net-SSLeay-1.52-ZteTKN from current directory name.
Note (probably harmless): No library found for -lssl *** Could not find OpenSSL
If it's already installed, please set the OPENSSL_PREFIX environment
variable accordingly. If it isn't installed yet, get the latest version
from http://www.openssl.org/.
No 'Makefile' created MIKEM/Net-SSLeay-1.52.tar.gz
C:\Perl\bin\perl.exe Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test Make had some problems, won't test
Running make install Make had some problems, won't install
Failed during this command:
MIKEM/Net-SSLeay-1.52.tar.gz : writemakefile NO -- No 'Makefile' created
I encountered this error on two different machines, one Win7, one Win2k3 64bit. Perl version installed is 32bit 5.12 active perl.
I got this message on two machines: one for win7, one for win2k3 64bit, both installed 32bit perl. It seems very easy to reproduce. I went to http://www.openssl.org/ as mentioned to download openssl, but there're only tar files available, after unpacked using 7zip, only unix like makefiles, seems not for windows.
Then I download from another website a windows64 version of OpenSSL. It only comprise an exe file and some libs, very small. I set its path(ie. exe file path) to OPENSSL_PREFIX env as the CPAN error message mentioned and close the cmd.exe, reopen and repeat the CPAN install command, but the error still there....
why Net::SSLeay so hard to install?
Thank a lot for any help!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can't install Net::SSLeay
by marto (Cardinal) on Jan 31, 2013 at 11:50 UTC | |
|
Re: can't install Net::SSLeay
by syphilis (Archbishop) on Feb 01, 2013 at 06:15 UTC | |
|
Re: can't install Net::SSLeay
by vinoth.ree (Monsignor) on Jan 31, 2013 at 12:01 UTC | |
by marto (Cardinal) on Jan 31, 2013 at 12:10 UTC | |
|
Re: can't install Net::SSLeay
by Anonymous Monk on Feb 01, 2013 at 09:59 UTC |