Or maybe it came from using mingw with a Perl built with MS's compiler

Yes, that appears to be the trouble - though, assuming that the op is using a recent build of ActivePerl (which appears to be the case), there should be no such problem when using MinGW.

The specific problem I notice in the output provided by the op is that "-out:" is a VC++ flag. The comparable flag for MinGW is "-o". When MinGW sees -out:some_file, instead of trying to write to some_file, it tries to write to ut:some_file which, of course, is not a valid path.

I don't know why it is that the op is getting that VC++ flag. It looks like the fact that MinGW is in use is being overlooked somewhere along the way - possibly in ExtUtils::MM_Win32.

It may help us if we could see the output of perl -V (that's an upper case "V"), and if we also knew the version of ExtUtils::MakeMaker that's installed on that perl. (For the latter, run perl -MExtUtils::MakeMaker -e "print $ExtUtils::MakeMaker::VERSION")

Cheers,
Rob

In reply to Re^2: XS build error by syphilis
in thread XS build error by pvizeli

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.