Although version 0.51 is the latest, you'll note that it's quite old (June 2003). My guess is that some change in the recent release(s) of OpenSSL doesn't get along with the XS code - as you, yourself, more or less suggested. But that's just a guess. It could also be some code in the OpenSSL library that's posing a problem with VC7 only - ie some code that didn't actually get run until you came to run the Crypt::SSLeay test suite.

There's a ppm of Crypt-SSLeay-0.51 at http://theoryx5.uwinnipeg.ca/ppms/ if that helps. It should work fine with your build of perl (I think ... but no guarantee) despite the different compiler version. I don't know which version of OpenSSL it was built against - I suspect an older version.

Then again, if you built perl yourself you probably don't have the ppm utility - though you can get a serviceable version of it from CPAN. Nearly all ppm's that you find will work with your build of perl - so it's a handy tool to have for when problems arise.

I think it's a sound policy to be using the same compiler for everything - but don't let the principle stand in the way of progress - you'll often find it doesn't matter which windows compiler was used.

Cheers,
Rob

In reply to Re: Building Crypt::SSLeay on Win32 by syphilis
in thread Building Crypt::SSLeay on Win32 by coldguy

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.