ActiveState Powered by ActiveState

ActiveState Community


Install Crypt::SSLeay package

Posted by dtaylo75 on 2008-01-04 15:51

Crossposting here because I didn't see this forum when I initially posted, sorry...

Total newbie to perl here. I'm using a script provided by craigslist to facilitate bulk posting of listings to them.

Apparently their script requires a Crypt::SSLeay module installed.

I believe that the PPM utility in ActivePerl is what is used for managing modules, but I don't have the slightest idea how to tell this utility to install a new module. The best attempt I made was this:

C:\autotasks>ppm install Crypt::SSLeay
ppm install failed: Can't find any package that provides Crypt::SSLeay

Could somebody explain how the process of installing a module into PPM works under Windows. I see that I can download a .GZ file from CPAN, is this what I'm supposed to somehow "install" into PPM?

David
dtaylo75@bellsouth.net

grahams | Fri, 2008-01-04 16:40

You got the syntax dead right. However, the ActiveState repository does not contain any modules that require crypt technology, since distribution of said technology in Canada requires a certificate from the Federal Government. The message from PPM that it can't find the module is normal.

There are other repositories that do provide this module, specifically Randy Kobes University of Winnipeg CPAN site.
To install Crypt-SSLeay from the Winnipeg repository using ppm, please do this from a dos prompt:

For ActivePerl 5.8

c:\> ppm install http://theoryx5.uwinnipeg.ca/ppms/Crypt-SSLeay.ppd

For 5.6.1

c:\> ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/Crypt-SSLeay.ppd

thompsonson | Wed, 2008-02-27 00:26

I tried the following:

C:\Perl
$ 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 have run "perl -v" and I am using:

This is perl, v5.10.0 built for MSWin32-x86-multi-thread

The release notes (http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository) reference 5.6 and 5.8 but nothing for 5.10.

So i have 3 questions...

Is there a new package for 5.10?
Is there a way of making the 5.8 ppd work with 5.10?
Or should I downgrade my perl to 5.8? (I need to use HTTPS)

Thanks,
Matt

thompsonson | Wed, 2008-02-27 00:40

ignore the above it was available @ http://cpan.uwinnipeg.ca/PPMPackages/10xx/

-->