Hi list,

given Johannes' recent problems, I tried to track down the issue with freezing programs that "use PAR 'foo.par';" on win32.

After a lengthy debugging session, I'm still not much wiser. I'll explain what I found out. Perhaps somebody else will find the reason:

All seems to work well until in POSIX.pm, there is

XSLoader::load 'POSIX', $VERSION;

Then, in XSLoader::load, we have: (with $module eq 'POSIX'!)

    my $b = "$module\::bootstrap";
    goto &$b if defined &$b;

And that goto never returns.

Since Johannes wanted to use is .par in an environment that has a POSIX.pm installed anyway, it should not hurt to just delete blib/lib/POSIX.pm and blib/lib/auto/POSIX from the .par. I tried that and Wow! The application works!

Any ideas why this is happening?

Steffen

Reply via email to