Compiling openssl on Windows

S

Shashank Date

Hi,

I am trying to compile the openssl extension (which comes with ruby
source) on Win XP (Home) using the free VC++ Toolkit 2003.

I cannot even get it create the makefile. See transcript below.
So my question is where can I find all the dependencies (where it says "no")

Thanks,
-- shanko
------------------------------------------

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\extract\_ruby\ruby\ext\openssl>ruby extconf.rb
=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in nsl.lib... no
checking for socket() in socket.lib... no
checking for unistd.h... no
checking for sys/time.h... no
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... no
checking for openssl/ssl.h... no
=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.

C:\extract\_ruby\ruby\ext\openssl>
 
A

Austin Ziegler

Hi,

I am trying to compile the openssl extension (which comes with ruby
source) on Win XP (Home) using the free VC++ Toolkit 2003.

I cannot even get it create the makefile. See transcript below.
So my question is where can I find all the dependencies (where it says "no")

Thanks,
-- shanko

Where is your OpenSSL library? Did you make sure that there's an entry
in your INCLUDE environment variable to make sure that it can be
found?

-austin
 
S

Shashank Date

Hi Austin,
Where is your OpenSSL library?

Under

C:\OpenSSL

Installed by the binary provided at:
http://www.slproweb.com/products/Win32OpenSSL.html

Did you make sure that there's an entry
in your INCLUDE environment variable to make sure that it can be
found?

No I did not. So I just added it:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.


C:\>set | grep -i openssl
INCLUDE=C:\OpenSSL\include\openssl;C:\Program Files\Microsoft Visual
Studio\VC98\Include
LIB=C:\OpenSSL\lib\VC;C:\Program Files\Microsoft Visual Studio\VC98\LIB
OPENSSL_CONF=C:\OpenSSL\bin\openssl.cnf

But I still get the same error.

-- shanko
 
A

Austin Ziegler

C:\>set | grep -i openssl
INCLUDE=C:\OpenSSL\include\openssl;C:\Program Files\Microsoft Visual
Studio\VC98\Include

This should probably be C:\OpenSSL\include.

-austin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top