3

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 
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?

brian d foy
  • 129,424
  • 31
  • 207
  • 592
S.Jones
  • 1,145
  • 2
  • 12
  • 28
  • @Alexandr Ciornii that's a good question. I've been using Perl on Win for small side projects for the past 6 or 7 years now. Back then ActiveState looked to me like it had the best offering, and I've never really thought to explore any of the other options that have emerged. Maybe I should. – S.Jones Aug 28 '10 at 21:20
  • Sinan Unur was correct. After looking into the newest Perl versions available, I decided to give Strawberry Perl v5.12.1 a try (which comes with OpenSSL 1.0.0-beta4 10 Nov 2009). I was then able to install the newest version of Crypt::SSLeay from CPAN. – S.Jones Aug 29 '10 at 16:06

2 Answers2

5

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:

Also useful:

Sinan Ünür
  • 116,958
  • 15
  • 196
  • 339
3

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.

Community
  • 1
  • 1
brian d foy
  • 129,424
  • 31
  • 207
  • 592