• I have ExtUtils::MakeMaker (version 7.24).

  • The temporary override "perl Makefile.PL CC=g++" works ok.

  • I researched the error message "fileparse(): need a valid pathname" at line 1187 and found that it is issued by module "File::Basename qw(dirname)".

    This is as far as I've gotten trying to track down the source of the error in C:\Strawberry\perl\site\lib\ExtUtils\Install.pm.

    7 use File::Basename qw(dirname);
    1165 while(my($from, $to) = each %$fromto) {
    1187 my $dirname = dirname($to);

    It appears the "$to" variable in line 1187 which comes from the "%$fromto" hash in line 1165 is empty, but I feel like I'm on the verge of descending into a rabbit hole here. :-)

    Update: I took my research one step further and found that the subroutine "pm_to_blib" in C:\Strawberry\perl\site\lib\ExtUtils\Install.pm is referenced in the following makefile:
    C:\Strawberry\cpan\build\Image-Magick-7.1.1-10\Makefile

    ... and that's where my expertise in this area ends. :-(

    "It's not how hard you work, it's how much you get done."


    In reply to Re^7: Errors While Installing Image::Magick by roho
    in thread Errors While Installing Image::Magick by roho

    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.