Hmmm ... I think that perl was built using an older MS compiler.
However, I'm inclined to think that shouldn't matter, and it's certainly appropriate to be using an MS compiler to build modules for that perl build that you have.
How did you try to build DBD::MariaDB ? A normal way would have been to run cpan -i DBD::MariaDB .

The error message you posted in your original post doesn't provide anything meaningful to me. It's very strange that the standard Windows headers windows.h and winsock.h (included with every MS compiler) could not be found.
Did you run the VC++ batch file that sets up the environment such that these headers are found by default ?

Or perhaps the problem is just some stupid checks that the DBD::MariaDB Makefile.PL wants to run. (I haven't looked.)
Sorry - I don't mess much with VC++ builds of perl any more, and I don't mess with DBD/DBI modules at all.
If I needed to get this done, I'd just grab one of the "Portable" Strawberry Perl builds from https://strawberryperl.com/releases.html, as that seems so simple and straightforward.

Cheers,
Rob

In reply to Re^3: DBD:Mysql compilation failed on windows by syphilis
in thread DBD:Mysql compilation failed on windows by pesubbia

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.