On Jun 4, 2009, at 8:02 AM, Roderich Schupp wrote:

On Thu, Jun 4, 2009 at 12:30 PM, Roderich Schupp
<[email protected]> wrote:
I'm currently looking into this, but it's a little more complicated
than I thought.

Can you try the following patch to Module::ScanDeps (apply patch, then
"make install"),
then repack your script and check?

Cheers, Roderich


--- Module-ScanDeps-0.90/lib/Module/ScanDeps.pm 2009-05-09
10:25:36.000000000 +0200
+++ Module-ScanDeps-0.90-POSIX-fix/lib/Module/ScanDeps.pm
2009-06-04 14:55:37.000000000 +0200
@@ -350,6 +350,9 @@
        _glob_in_inc('POE/XS/Loop', 1),
        _glob_in_inc('POE/Loop', 1),
    },
+    'POSIX.pm'                         => sub {
+        map "auto/POSIX/$_->{name}", _glob_in_inc('auto/POSIX');
+    },
    'PPI.pm'                        => 'sub',
    'Parse/AFP.pm'                  => 'sub',
    'Parse/Binary.pm'               => 'sub',

Seems todo the trick, here is the output from pp:

/usr/local/bin/pp: ... adding /usr/local/lib/perl5/5.10.0/mach/auto/ POSIX/SigAction/flags.al as lib/auto/POSIX/SigAction/flags.al /usr/local/bin/pp: ... adding /usr/local/lib/perl5/5.10.0/mach/auto/ POSIX/SigAction/handler.al as lib/auto/POSIX/SigAction/handler.al /usr/local/bin/pp: ... adding /usr/local/lib/perl5/5.10.0/mach/auto/ POSIX/SigAction/mask.al as lib/auto/POSIX/SigAction/mask.al /usr/local/bin/pp: ... adding /usr/local/lib/perl5/5.10.0/mach/auto/ POSIX/SigAction/new.al as lib/auto/POSIX/SigAction/new.al /usr/local/bin/pp: ... adding /usr/local/lib/perl5/5.10.0/mach/auto/ POSIX/SigAction/safe.al as lib/auto/POSIX/SigAction/safe.al

etc etc for SigRT.

And now ./script.par runs as expected.

Thanks
Michael

Reply via email to