Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [Ruby Forum] Problems building OpenSSL for Ruby on a Win32 platform

Reply
Thread Tools

[Ruby Forum] Problems building OpenSSL for Ruby on a Win32 platform

 
 
Alexey Verkhovsky
Guest
Posts: n/a
 
      01-20-2005
Unanswered question from http://ruby-forum.org/bb/viewtopic.php?t=340

QTE
Here's something along these lines I was wondering about. I was looking
to implement Net::SSH to create some GUI admin utilities. My admin
workstation is a Win32 box. I tried installing Net::SSH, the
OpenSSL-snapshot, as well as the Needle package.

Checking the RAA I saw another OpenSSL project called RubyPKI
(http://raa.ruby-lang.org/project/openssl). But the download directory
is empty and the project maintainer has an invalid e-mail address. I am
assuming that this is a dead duck? In any event, on to Net::SSH and its
dependencies.

I was able to install both Needle and Net::SSH on my Win32 box, but when
I tried to run the extconf.rb script against the OpenSSL-snapshot I
received an error message stating that the openssl/ssl.h file couldn't
be located. I have copied the OpenSSL C headers into various places
along the search path (e.g. - the root directory of the
OpenSSL-snapshot, the local ruby/include directory, etc.), as well as
appended the PATH to include the OpenSSL C header files. Still no luck.
I also tried running the extconf.rb script using both the --with-debug
and the --with-openssldir=/my/path options. Still no luck.

Here's an excerpt from the mkmf.log file:

--------------------

have_header: checking for openssl/ssl.h... -------------------- no

"cl -IC:/ruby/openssl-snapshot-20040726
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -I./.. -I./../missing -MD -Zi
-O2b2xg- -G6 conftest.c -P"
checked program was:
/* begin */
#include <openssl/ssl.h>
/* end */

UNQTE

--
Best regards,

Alexey Verkhovsky

Ruby Forum: http://ruby-forum.org (moderator)
RForum: http://rforum.andreas-s.net (co-author)
Instiki: http://instiki.org (maintainer)



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby and OpenSSL: no such file to load -- openssl (RuntimeError) Redd Vinylene Ruby 6 11-18-2008 08:51 AM
looking for advices building ruby-app/X-platform Une bévue Ruby 0 11-28-2006 06:33 AM
OpenSSL problems with Ruby 1.8.4 and Windows - DLL linking listrecv@gmail.com Ruby 2 04-06-2006 09:20 PM
win32 openssl help request Debaun, Steve Ruby 1 02-09-2006 09:56 PM
1.8.3 preview 1 failure - win32/openssl Curt Hibbs Ruby 0 05-12-2005 10:48 PM



Advertisments