Misc Technical Notes

1. Openssl Build Notes for Windows(updt:09Oct2008)

1. Openssl Build Notes for Windows

		1.	Download the latest tar ball openssl-0.9.8i.tar.gz
			Have Platform SDK (2003 Server) on the system with VC++ 2005 Exp.
			Download MASM8.0 and install (for ml.exe).
			Download ActiveState Perl and install.
		2.	Unzip the openssl tar ball to build\openssl path.
		3.	open a command prompt at �build\openssl\� path.
		4.	Execute vsvars32.bat in this command line.
			"C:\Program Files\Microsoft VisualStudio2005\Common7\Tools\vsvars32.bat" .
		5.	Mkdir tmp_open_ssl.
		6.	Execute the command.
			Build\openssl-0.9.8i>perl Configure VC-WIN32 -prefix=E:\BODC\Source\OpenSSL\Build\openssl-0.9.8i\tmp_open_ssl

		7.	Add to the lib and include paths of the commandline, the PlatformSDK�s include and lib paths.
			E:\BODC\Source\OpenSSL\Build\openssl-0.9.8i>set include=%include%;"C:\Program Fi
			les\Microsoft Platform SDK\Include"

			E:\BODC\Source\OpenSSL\Build\openssl-0.9.8i>set lib=%lib%;"C:\Program Files\Micr
			osoft Platform SDK\lib"
		8.	Execute
			OpenSSL\Build\openssl-0.9.8i>ms\do_masm
			(for debug version) ms/do_masm_debug.bat.  Or change the following two lines
			In do_masm.bat to add 'debug' flag as below..
			perl util\mk1mf.pl  debug VC-WIN32 >ms\nt.mak
			 perl util\mk1mf.pl debug dll VC-WIN32 >ms\ntdll.mak

		9.	Builds libs: nmake -f ms\nt.mak (if u want dlls then run �ms\ntdll.mak�)
		10. nmake -f ms\nt.mak install

		Useful Links:
		http://www.fiveanddime.net/openssl/openssl-0.9.8b/INSTALL.W32.html
		http://www.ski-epic.com/2007_notes_on_openssl/index.html
         



Back to Home

Hosted by www.Geocities.ws

1