Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
  • 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":



    • Are you posting in the right place? Check out Where do I post X? to know for sure.
    • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
      <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
    • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
    • Want more info? How to link or How to display code and escape characters are good places to start.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others rifling through the Monastery: (3)
    As of 2024-06-16 05:52 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.