From: djberg96@... (Daniel Berger) Date: 2004-06-21T10:48:15+09:00 Subject: Problem with mkmf, have_header, and windows Hi all, Ruby 1.8.1-13 Windows 2000 I installed the OpenSSL package for Windows (from http://www.slproweb.com/products/Win32OpenSSL.html if you're interested) under C:\Program Files\OpenSSL. I then downloaded Jamis Buck's openssl patch. However, no matter what I specify to --with-openssl-dir, it doesn't seem to see the ssl.h file. At first I thought this was a bug in Jamis' extconf.rb file, but now I think it's a bug in mkmf. Consider the following test: # sample extconf.rb require "mkmf" header = 'C:\Program Files\OpenSSL\include\openssl\ssl.h' # I also tried these strings with no luck #header = '/program files/openssl/include/openssl/ssl.h' #header = "C:\\Program Files\\OpenSSL\\include\\openssl\\ssl.h" p File.exists?(header) # true (to verify that file exists) have_header(header) # Always comes back 'no' I also tried setting %INCLUDE% to the appropriate directory and trying a plain 'have_header("ssl.h")', but no luck with that either. On the theory that it might be the space in 'Program Files' causing the problem, i tried re-installing SSL to just "C:\OpenSSL" but that didn't help either. Any ideas? Thanks. Dan