|Perl Monk, Perl Meditation|
can't install Net::SSLeayby anaconda_wly (Scribe)
|on Jan 31, 2013 at 11:40 UTC||Need Help??|
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
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...
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
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!