1.ActivePerl Installation:
C:\Perl64\eg\example.pl
Hello from ActivePerl!
It means you installed ActivePerl successful.
*********************************************************************
2.Install Openssl
dowload address:
ftp://ftp.openssl.org/source/old
Variable name:VS110COMNTOOLS
Variable value:C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools( note: VS IDE path )
Execute command:
a)
"cmd" -> cd "C:\Users\wu\Downloads\openssl-1.0.1c"
perl Configure VC-WIN32 --prefix=c:/openssl-1.0.1c
b)
ms\do_ms
c)
cd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin"
vcvars32.bat
d)
nmake -f ms\ntdll.mak
e)test it.
nmake -f ms\ntdll.mak test
finally, you will get openssl.exe file under the "out32dll" folder.
If you get the warning "Can't open config file:......", please do as the following step:
Execute "Set OPENSSL_CONF=C:\Users\wu\Downloads\openssl-1.0.1c\apps\openssl.cnf" before using openssl.exe command.
Description:
a) library path -> C:\devdiv\openssl-0.9.8i\out32
b) include path -> C:\devdiv\openssl-0.9.8i\include
c) config path -> C:\devdiv\openssl-0.9.8i\apps\openssl.cnf
Reference link:
http://my.oschina.net/sad7girl/blog/73711?fromerr=Naxin6QO