dkhosla1 has asked for the wisdom of the Perl Monks concerning the following question:
Background: The issue is happening on only 1 system which is very strange. Other systems with the exact same OS (RedHat 7.2) and same binary don't see this issue.
By default, I am using '-C' (--clean) 'pp' option to build the packaged binary.
On this system, when running it, it got the "Can't locate File/Temp.pm in @INC .." type error. See below. Since other systems were not having this issue, the package must be there. But just to make double-sure, I compiled with "-M File::Temp". It did not fix the issue.
So then to see if it really was missing, I compiled without the '-C', and it worked! No issues.
Any ideas?
Here is the full output - none of the output is from mytest itself
$ ./mytest -v Invalid argument at -e line 119. Can't locate File/Temp.pm in @INC (@INC contains: /home/shared/perl5/R +EL5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/x86_64-linux /hom +e/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3 / +home/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/5.16.3/x86_64-l +inux /home/shared/perl5/REL5/perlbrew/perls/perl-5.16.3/lib/5.16.3 .) + at -e line 6. END failed--call queue aborted at -e line 616.
pp -v -> PAR Packager, version 1.041 (PAR version 1.015)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pelr packer pp with -C fails else ok
by dkhosla1 (Sexton) on Oct 04, 2018 at 18:33 UTC | |
by swl (Prior) on Oct 04, 2018 at 21:59 UTC | |
by swl (Prior) on Oct 04, 2018 at 22:36 UTC | |
by dkhosla1 (Sexton) on Oct 06, 2018 at 00:17 UTC | |
by swl (Prior) on Oct 06, 2018 at 06:59 UTC | |
| |
by Anonymous Monk on Oct 06, 2018 at 00:42 UTC | |
| |
by dkhosla1 (Sexton) on Oct 06, 2018 at 00:10 UTC | |
|
Re: Pelr packer pp with -C fails else ok
by Anonymous Monk on Oct 04, 2018 at 22:03 UTC | |
|
Re: Pelr packer pp with -C fails else ok
by Anonymous Monk on Oct 08, 2018 at 23:26 UTC |