I am writing an application in which a user will make a call to a server using the https protocol. The user will have Perl's LWP module installed, but LWP also requires OpenSSL and Crypt::SSLeay to work. I have gotten all this set up and working on Linux but am having problems setting this up on my Windows test box.

I am assuming that the user will have ActivePerl installed and has the technical competence to install OpenSSL for Windows as well as a ppm for Crypt::SSLeay. As is well documented, ActiveState cannot ship a ppm of Crypt::SSLeay, but such a ppm is available from Randy Kobes' repository. I have installed ActivePerl on the test box (which I've done many times before) as well as OpenSSL. And I think I have correctly installed Crypt::SSLeay.

C:\Client>perldoc -l Crypt::SSLeay C:\Perl\site\lib\Crypt\SSLeay.pm
... which is the expected location for non-core modules.

However, when I go to build the application -- which is bundled as a normal, CPAN-style tarball -- I get the following:

C:\client>perl Makefile.PL Warning: prerequisite Crypt::SSLeay 0 not found. Writing Makefile for Perl::APIClient
perl Makefile.PL fails to find Crypt::SSLeay, even though it's installed in the correct location, and even though the script can successfully locate other non-core Perl modules installed in C:\Perl\site\lib\. make runs without error, but, not surprisingly, make test fails at the point where an https call is first attempted.

Can anyone suggest what I'm missing? Thank you very much.

Jim Keenan

In reply to Crypt::SSLeay not found by Makefile.PL on Win32 by jkeenan1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.