NoSyu has asked for the wisdom of the Perl Monks concerning the following question:

Hello
I setup the Strawberry perl 5.10.0.3 and I want to use WWW::Mechanize module to get the https pages.
but message said, Crypt::SSLeay not installed.
Therefore I setup this to use cpan, but it dosen't work.
and I find the sentence on http://search.cpan.org/~dland/Crypt-SSLeay-0.57/SSLeay.pm

Windows
Crypt::SSLeay builds correctly with Strawberry Perl.
http://search.cpan.org/~dland/Crypt-SSLeay-0.57/SSLeay.pm#Windows

But it's not.
How can I use Crypt::SSLeay on windows strawberry perl?
Thanks to read it.
  • Comment on how to use or install Crypt::SSLeay on strawberry perl

Replies are listed 'Best First'.
Re: how to use or install Crypt::SSLeay on strawberry perl
by syphilis (Archbishop) on Jan 10, 2009 at 06:28 UTC
    If Strawberry Perl 5.10.0.3 ships with the ppm utility, you can just:
    ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/Crypt-SSLeay.ppd
    If the ppm utility is not currently provided, you could install the version of PPM that's on CPAN.

    Cheers,
    Rob
      Thanks.
      I do that, and it works.
      In fact, I did that code, but it dosen't work.
      So I want to another way to solve this problem.
      Now I modified D drive from CD-ROM to USB Memory.
      Therefore, the ppm program can write on D drive.
      I don't know why ppm use C drive.OTL...
      Thanks a lot.
      Have a nice day~^^
Re: how to use or install Crypt::SSLeay on strawberry perl
by grinder (Bishop) on Jan 10, 2009 at 18:31 UTC

    You need to make sure you have the OpenSSL library installed (see the documentation for the download link). If you install it in c:\openssl (as proposed by default), the Makefile.PL will find it automatically.

    After that, it's a simple matter of:

    perl Makefile.PL <answer any questions> dmake dmake test dmake install

    The first stage will prompt you for the path to the OpenSSL library if it can't find it. If you have any specific problems, please post the error message.

    • another intruder with the mooring in the heart of the Perl