OpenSSL compilation experience

Source: Internet
Author: User
Tags install perl

1. Download and install Perl

Address: http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1005-MSWin32-x86-290470.msi

2. Download The nasm-0.98.39 (assuming the directory is F: \ nasm-0.98.39 after decompression)

Address: http://www.bairuitech.com/upimg/soft/nasm-0.98.39-win32.zip

3. Download OpenSSL (assuming the directory is F: \ openssl-0.9.8a after decompression)

SVN address: http://svn.python.org/projects/external/openssl-0.9.8a/ (latest version is 0.9.8.g)

4. Start the vs command prompt Console (start/Program/Microsoft Visual Studio 2005/Visual Studio Tools/Visual Studio 2005 command prompt)

5. Enter the following commands in the console:

1)Cd f: \ openssl-0.9.8a

2)Set Path = % PATH %; f \ openssl-0.9.8a \; f \ nasm-0.98.39 \

3)Perl configure VC-WIN32

4)Ms \ do_nasm(Generate files such as MS \ nt. Mak and Ms \ NTDLL. Mak)

5) Modify Ms \ nt. mak and Ms \ NTDLL. remove/wx from the cflag definition. (/wx indicates treat warning as error. This switch will cause OpenSSL to fail to compile)

6)Vcvars32

7)Nmake-F Ms \ NTDLL. Mak

For details, see:

1) install openssk troubles solve http://blog.csdn.net/wangxing1018/archive/2008/05/25/2480447.aspx

2) OpenSSL compile http://blog.csdn.net/gnuser/archive/2009/06/01/4231249.aspx

Vibilin comments

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.