It's, as stated, typically a problem you have with Module::Build in ActivePerl with the non-original C compiler — thus: MinGW. What happens is that Module::Build for some obscure reason uses -lperl58 as a libary to link against, which is short for perl58.lib in any searched directory, but the directory C:\Perl\lib\CORE, where perl58.lib actually resides, isn't in the search path.

The problem is so bad that I can't even install Module::Build 0.2805, because the tests fail for the exact same reason.

The solution that works for me, is find a way to specify that directory into the command line for the linker. Open the file C:\Perl\site\lib\ActivePerl\Config.pm, and replace the line 108,

_override("lddlflags", "-mdll");
which is one of the parameters passed to the linker, with
_override("lddlflags", "-mdll -LC:/Perl/lib/CORE");
Now, Module::Build passes all tests. And, after installing Module::Build, so does Devel::Caller.

In reply to Re: Help building Devel::Caller by bart
in thread Help building Devel::Caller by Limbic~Region

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.