wojtyk has asked for the wisdom of the Perl Monks concerning the following question:
I downloaded the latest version of openssl (openssl-0.9.8h) and Net-SSLeay (Net-SSLeay-1.36) and followed as best I could the installation instructions in README.Win32. The main differences are that I'm using Windows 7 64-bit instead of Windows Server 2003, Activestate Perl build 822 instead of 820, Visual Studio 2k8 command prompt instead of VC++ 6.0, and I didn't install the SDK (everything successfully compiles without it). I execute the following commands with no errors:
Then if I attempt an nmake test, it fails with the "Bad file descriptor"/"vendor undefined macro" error -- I've had this occur on either tcpcat or verify_none, depending on what version of openssl I try. If I "nmake install", it installs correctly, but then the "vendor undefined" error comes when I try to run a script that includes the module. I'm seriously out of ideas -- my Google-fu is entirely exhausted and I see no solution to this. I've changed nothing of the code and my Windows/ActiveState installations are vanilla. Can anyone explain what I'm doing wrong? Or specify exactly how to install this thing on a Windows machine?cd openssl-0.9.8h perl Configure VC-WIN32 --prefix=c:/OpenSSL ms\do_ms nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak install copy c:\OpenSSL\bin\*.dll c:\windows\system32 cd ..\Net-SSLeay-1.36 perl Makefile.PL nmake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: installing Net-SSLeay on Windows system
by syphilis (Archbishop) on May 13, 2010 at 02:07 UTC | |
by wojtyk (Friar) on May 13, 2010 at 16:22 UTC | |
by syphilis (Archbishop) on May 14, 2010 at 08:37 UTC | |
by wojtyk (Friar) on May 14, 2010 at 19:13 UTC | |
by syphilis (Archbishop) on May 15, 2010 at 08:16 UTC |