Closed ceblanton closed 4 years ago
Currently, mkmf uses the /usr/bin/perl as specified in the shebang: #!/usr/bin/perl
mkmf
/usr/bin/perl
#!/usr/bin/perl
mkmf uses the compiled Config module that fails with an error if the running Perl version doesn't match the Perl used to compile the library.
Config
The solution is to use the Perl in the environment, which should match the Perl used the compile Config.pm: #!/usr/bin/env perl
Config.pm
#!/usr/bin/env perl
@ceblanton will you do the work, or will someone else?
Ready in #36
Currently,
mkmf
uses the/usr/bin/perl
as specified in the shebang:#!/usr/bin/perl
mkmf uses the compiled
Config
module that fails with an error if the running Perl version doesn't match the Perl used to compile the library.The solution is to use the Perl in the environment, which should match the Perl used the compile
Config.pm
:#!/usr/bin/env perl