Easier way to build OpenSSL

This allows you to skip the Linux step.

  1. Download the OpenSSL tarball and extract it.
  2. Find the file util\mk1mf.pl.
  3. Find the line ($key,$val)=/^([^=]+)=(.*)/; and add this line after it: $val =~ s/\s+$//; (this is at line 487 in OpenSSL 0.9.7c)
  4. Now follow the instructions that came with the tarball.

The problem is that mk1mf.pl parses the generated MINFO file into key-value pairs, but in the process picks up the end-of-line character at the end of each value. I bet this is a problem only if you install Cygwin Perl with DOS line endings, which I did (though I tried converting MINFO to Unix linefeeds and it still didn't work).

Categories

About this Entry

This page contains a single entry by Mike Tsao published on February 7, 2004 9:55 PM.

OpenSSL on VS.NET was the previous entry in this blog.

Emily is standing! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.2rc2-en