It's just a matter of time before I forget the solution I found here, so I know I'll be back one day and wanted to clear up what I found as a solution here and what the problem actually appears to have been.

First of all, EXE_FILES is obviously not the solution. Forget that. Neither was the problem in ExtUtils::MakeMaker, rather it was with the way that CPANPLUS was building and executing the "perl Makefile.PL". What seems to have been happening is that, in addition to the value that I was setting for PREFIX or INSTALL_BASE for the makemakerflags, the entire line was being appended to the value of PREFIX, so I'd wind up with something like this in my Makefile after the configuration was executed:

INSTALL_BASE = /home/nypntdev/iprs_perl INSTALLSCRIPT=/home/nypntdev/iprs_perl/x86_64/bin

The solution was to populate the PERL_MM_OPT environment variable that is used by ExtUtils::MakeMaker. http://search.cpan.org/~mschwern/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm#PERL_MM_OPT says:

Command line options used by MakeMaker->new(), and thus by WriteMakefile(). The string is split on whitespace, and the result is processed before any actual command line arguments are processed.
So, there you have it.

In reply to Re^5: INSTALLSCRIPT Not Working by bergbrains
in thread INSTALLSCRIPT Not Working by bergbrains

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.