compile openssl for windows(version 0.9.8.g) 选项



While it is easy to compile openssl on Linux, it is messy to compile
openssl on windows. The following demostrates the steps to how to
compile OpenSSL for windows.


note: you must have VC 6.0 installed


Step One: Make sure you have perl install on windows. if not, follow
the "install Perl on windows" section. if so, you can jump to Step
Two directly.


Install Perl on Windows


1.Download ActivePerl for Windows (Windows MSI package) from
ActiveState.Com.


2.Install the package (just double click the msi package, that is
easy). I have installed it in the path : C:/perl


3.Add the bin directory in the installed directory to your PATH
enviroment variable. in my case it is "C:/perl/bin"


4. In the command window( run the cmd.exe), type "perl -v", if there
are somthing like "it is perl ..."displayed on console, you succeed.


Step Two: Compile OpenSSL


1. download the latest version of openssl from openssl.org. For
now,it
is openssl-0.9.8g.tar.gz


2. unpack the downloaded package.


3. in the console window, change the working directory to where you
unpacked the package. in my case, it is C:\openssl-0.9.8g. (i.e.
cd c:\openssl-0.9.8g)


4. run the configure command:


perl Configure VC-WIN32


5. run the compile command:


ms\do_ms


nmake -f ms\ntdll.mak


6. after the compilation ,there exists a directory named
"out32dll" (for me, it is C:\openssl-0.9.8g\out32dll) containing all
the binary files (such as openssl.exe)and library files of openssl
(libeay32.dll, libeay32.lib, ssleay32.dll, ssleay32.lib). Also there
is an "include" diretory (for me, it is C:\openssl-0.9.8g\include)
which is used for developers.


the original text was published on : http://www.info-life.cn/
link: http://www.info-life.cn/2007/11/compile-openssl-for-windows.html


.



Relevant Pages

  • Re: NDBM module for ActiveState/Winxx?
    ... Hmmmmm...from a generic install of ActiveState Perl 5.8.4 on Windows XP sp2: ... For large files (where tied hashes to DBM-type ...
    (comp.lang.perl.misc)
  • Re: About blackdown
    ... >> for Linux, OSX, and Windows, with all executable and library files in one ... >> or a few directories on an install CD, ... Then I saw "Learning Perl" on special for $7 at a store. ... But Java has worked well and I like Perl. ...
    (Debian-User)
  • Cant install DBI.pm in cygwin under Windows 2003 Server
    ... without any trouble on Windows XP Pro. ... to install on the Windows machine. ... Install cygwin with these options: ... - perl Makefile.PL ...
    (perl.dbi.users)
  • Re: How to install module when I am not allowed to install moudule in system directory?
    ... network - the administor does not allow me install this module ... the book "SAMS Teach Yourself Perl in 24 hours" Appendix A P431. ... There's nothing stopping you from using the CPAN shell on windows. ... this environment you can always try building the modules on your own ...
    (comp.lang.perl.misc)
  • Re: How to install module when I am not allowed to install moudule in system directory?
    ... network - the administor does not allow me install this module ... the book "SAMS Teach Yourself Perl in 24 hours" Appendix A P431. ... There's nothing stopping you from using the CPAN shell on windows. ... this environment you can always try building the modules on your own ...
    (comp.lang.perl.misc)