On Mon, Jun 21, 2010 at 11:35 AM, Trappe, Jens (EXTERN: ITHUD)
<jens.tra...@volkswagen.de> wrote:
> I use ActivePerl        5.10.0.1004

Hi Jens,

FYI (but that's not related to your current problem):
Note that PAR::Packer doesn't work on Perl 5.10.0 - that version
of Perl broke PAR::Packer's method to intercept the loading of
XS modules.  It looks as if PAR::Packer is working as long as the
build and target system are identical perlwise.
Things fall apart when you run on a target system that has no Perl
installed at all or a different version than on the build machine.
Perl 5.10.1 or 5.12.x do work.

> This evening I will check the code under XP and AktivePerl 5.12.
> Where can I get the PAR::Packer 1.00x for AktivePerl 5.10 ?

I suggest building it yourself. You'll need a C compiler and the dmake
utility. If using ActiveState Perl, you can install both hem with

ppm install MinGW

Why build it yourself? Because PAR::Packer is very sensitive to
the version of Perl it was build against - it should be identical to the
Perl you run "pp" on. (Note that the generated executables
are *not* sensitive to the version of Perl  - if any - where they are
*invoked*.)
PPM repositories claim that their PAR::Packer package
was built against a certain Perl version. But they are often wrong, leading
to hard to diagnose problems with executables packed with this PAR::Packer.

Cheers, Roderich

Reply via email to