Sorry for all of the grammar mistakes before. But to cut to the point, I'd like to request that the smoker program that is kicking off "make test" set an Environment variable for the perl path beforehand.
Looking at report, there is no such environment variable set. From http://www.cpantesters.org/cpan/report/f5f5de74-400c-11e6-937a-cbe75bc2a771 Environment variables: AUTOMATED_TESTING = 1 LANG = en_US.UTF-8 LANGUAGE = en_US:en PATH = /usr/lib/ccache:/home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin PERL5LIB = PERL5OPT = PERL5_CPANPLUS_IS_RUNNING = 13624 PERL5_CPAN_IS_RUNNING = 13624 PERL_CANARY_STABILITY_NOPROMPT = 1 PERL_MM_USE_DEFAULT = 1 SHELL = /usr/bin/zsh TERM = screen Perl special variables (and OS-specific diagnostics, for MSWin32): $^X = /home/sand/src/perl/repoperls/installed-perls/perl/v5.22.1/8d81/bin/perl And if the right perl is: /home/sand/src/perl/repoperls/installed-perls/perl/v5.22.1/8d81/bin/perl then why not put /home/sand/src/perl/repoperls/installed-perls/perl/v5.22.1/8d81/bin/ in the PATH variable that is set in the environment that "make test " sees? Where is the project for the smoker code so that I can submit an issue and possibly a pull request? P.S. Grammar typos from the previous email message... Although I => Although it is truth that I having the program that invoke .. PERL. And that => if the program that invokes ... PERL, that On Sat, Jul 2, 2016 at 12:16 AM, Rocky Bernstein <rocky.bernst...@gmail.com> wrote: > - shipping both a Makefile.PL and a Build.PL correctly is a tough >> problem > > > Although I that I was using the deprecated "passthrough" style, using every > combination listed in the docs > <https://metacpan.org/pod/Module::Build::Compat#create_makefile_pl-style-build> > a > Makefile.PL was added to distribution tarball. I even tried omitting a line > like "create_makefile_pl => 'traditional' . > > Although shipping both a Makefile.PL and a Build.PL may be a tough > problem, having the program that invoke "make test" could set an > environment variable such as PERL. And that would help the makefile and any > scripts it runs to use the right perl. > > On Fri, Jul 1, 2016 at 10:29 PM, Andreas Koenig < > andreas.koenig.7os6v...@franz.ak.mind.de> wrote: > >> >>>>> On Fri, 1 Jul 2016 22:15:43 -0400, Rocky Bernstein < >> rocky.bernst...@gmail.com> said: >> >> > If it is the case that something in the smoker decided to invoke >> > "/usr/bin/make test" as it appears above, then how is a makefile >> > supposed to know which Perl is intended? >> >> - It depends on who wrote the makefile >> - Makefiles written by ExtUtils::MakeMaker just know it. Typically they >> set PERL correctly >> - shipping both a Makefile.PL and a Build.PL correctly is a tough >> problem >> >> -- >> andreas >> > >