Subject: | Makefile.PL: Perl lib version (5.25.0) doesn't match executable '.../bin/perl' version (5.24.1) at inc/Config.pm line 62. |
Not sure why I'm the special butterfly on this one other than that I don't have . in @INC (not sure why that'd matter)
The error:
$>perl Makefile.PL
Makefile.PL: Perl lib version (5.25.0) doesn't match executable '/usr/local/cpanel/3rdparty/perl/524/bin/perl' version (5.24.1) at inc/Config.pm line 62.
Compilation failed in require at inc/ExtUtils/HasCompiler.pm line 10.
BEGIN failed--compilation aborted at inc/ExtUtils/HasCompiler.pm line 10.
Compilation failed in require at Makefile.PL line 11.
BEGIN failed--compilation aborted at Makefile.PL line 11.
The reason for this is that use lib 'inc' is being done very early in Makefile.PL so then when you later do use Config, it picks up the inc/Config.pm file.
So I'm not sure if the root cause is that use Config needs to happen before use lib 'inc' or that inc/Config.pm exists at all in the distro.
Thoughts?
Thanks,
Todd