gugod/patchperl-packing — Issue #1: Doesn't work on perl 5.8 due to missing deps
Author: rwstauner
Created: 2012-03-10 03:58:48+00:00
State: open

the fatpacked script doesn't work on a system I'm using that comes bundled with 5.8...

I was trying to build 5.14.2 and got a bunch of 'module not found' errors when perlbrew called patchperl.
Without patchperl one of the core tests fails.

`Locale::Maketext::Simple` and `Module::Load::Conditional` (two of the missing modules)
were added to the core in 5.10 (technically 5.9.5).

I forked this repo and packed the script with perl 5.8.8 and it picked up enough additional modules
that I was able to put it on the other machine, overwrite perlbrew's script with this one, and then perl 5.14.2 built successfully.

Since one of perlbrew's great features is that it helps you install a new perl on a system that comes with an old one,
it would be more useful if this script was packed with those extra modules to enable it to work on 5.8.

What do you think?