in reply to Problem Creating and Running Perl exe

at D:/cpanrun/build/5-8-0/lib/DynaLoader.pm line 229.

That line looks a bit strange.  1) Why does it say 5-8-0 when you're meaning to use 5.8.8?  2) Why does it load DynaLoader.pm from this location anyway? AFAIK, PAR is supposed to create a self-contained package, so it's not meant to pull in stuff from some build directory on another drive... That's what I would start trying to figure out first.

What exact command did you issue to create the package? Do you have more than one version of Perl installed? Did you have the PERL5LIB environment variable set while creating the package, or do you maybe have it set now when trying to execute the PAR package? Did your pp command in fact run with the right Perl binary (5.8.8)?

Ok, many questions, no answers :)  But hopefully, attempting to answer them yourself will shed some light on what's going wrong... (my guess would be that you're somehow inadvertently mixing up versions, which could explain why the Perl-internal symbol Perl_Gsv_placeholder_ptr cannot be located). — Good luck!

Replies are listed 'Best First'.
Re^2: Problem Creating and Running Perl exe
by syphilis (Archbishop) on Jun 03, 2008 at 22:49 UTC
    Why does it say 5-8-0 when you're meaning to use 5.8.8?

    I've seen this sort of thing happen before with ppm builds of PAR. ActiveState build their 5.8.x binaries using perl-5.8.0, and I think that's how the 5.8.0 dependency creeps in. The various 5.8.x dll's don't all export the same set of functions (for differing values of "x"), and Perl_Gsv_placeholder_ptr is apparently a case in point. (Looks like the 5.8.0 dll does export it, but not the 5.8.8 dll.)

    It has been quite a while since I've seen this issue crop up - so I'm hazy on the details.

    Cheers,
    Rob