I've installed OpenSSL in the directory "C:\OpenSSL-Win32" with the binaries in "C:\OpenSSL-Win32\bin" rather than "C:\Windows\System32". The environment variable "OPENSSL_CONF" is set to "C:\OpenSSL-Win32\bin\openssl.cfg", while "OPENSSL_PREFIX" is set to "C:\OpenSSL-Win32".

Anyways, I keep trying to install Net::SSLeay (which needs OpenSSL) through cpanm because I need it for IO::Socket::SSL which is consequently needed for Net::SMTP::SSL but it fails. dmake comes out with an error code 129 at the end, but I looked over the build log and it looks like there's a domino effect of errors from the initial build.

C:/Perl/site/bin/gcc.exe -c  -IC:\OpenSSL-Win32\/include -IC:\OpenSSL-Win32\/inc32 -I/usr/kerberos/include     -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2       -DVERSION=\"1.36\"     -DXS_VERSION=\"1.36\"  "-IC:\Perl\lib\CORE"

If you need to view the entire build log, open the spoiler below. Thank you for all your help.

(Spoiler moved to reply due to rendering bug -tye)


In reply to Installing Net::SSLeay on Windows 7 via cpanm by AVanover5

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.