开发者

How can I install Crypt::SSLeay on a Win 64?

I've got 64-bit Vista with ActiveState Perl "v5.10.0 built for MSWin32-x64-multi-thread" and I'm trying to get the Crypt::SSLeay package installed along with versions of libeay32.dll and ssleay32.dll.

I've done this before on a Win32 machine using the 'uwinnipeg' server, but I'm running into issues with my 64-bit system.

ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd
ppm install failed: The PPD does not provide code to install for this platform

I've tried a straight ppm install which seemed to work, but verification fails and I don't see any sign of the dll files?

C:\Perl64\bin>ppm install Crypt::SSLeay 
Downloading ActiveState Package Repository packlist...done 
Updating ActiveState Package Repository database...done 
Syncing site PPM database with .packlists...done 
No missing packages to install 
开发者_StackOverflow中文版C:\Perl64\bin>ppm verify Crypt::SSLeay 
ppm verify failed: Package 'Crypt::SSLeay' is not installed 

Does anyone know where/how I could get versions that are compatible with my PC?


There are a few issues here: First, AFAIK, you need OpenSSL v1.0.0 or greater for Windows 64. Second, until recently, Makefile.PL in Crypt-SSLeay did not detect correctly OpenSSL versions greater than 0.9.x.

I think you want to upgrade at the very least to Perl 5.10.1 as it fixed a number of crucial performance related bugs.

If you install mingw via ActiveState's ppm (I am assuming ppm install mingw would work even though I haven't tried it on a 64-bit system), you can use it to build OpenSSL 1.0.0a and Crypt-SSLeay.

Update: You probably don't need Crypt::SSLeay. See:

  • DO YOU NEED Crypt::SSLeay?

  • Does your code really depend on Crypt::SSLeay?

  • Don't declare a dependency on Crypt::SSLeay (or IO::Socket::SSL either).

Also useful:

  • Building OpenSSL 1.0.1g on 64-bit Windows Pro 8.1 with Windows SDK 7.1

  • Compile Vim and OpenSSL with Visual Studio 2013 Community Edition.


Sinan has very recently released a new version of Crypt::SSLeay which might clear up some Windows installation issues. I doubt it's made its way into a PPM yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜