Sun Feb 07 21:37:08 2010: Request 42986 was acted upon.
Transaction: Correspondence added by TJC
       Queue: PAR
     Subject: PAR-based modules use system XS modules over included modules
   Broken in: 0.984
    Severity: Important
       Owner: Nobody
  Requestors: t...@cpan.org
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=42986 >


To demonstrate the other/related problem, involving XS modules, create 
sha.pl as:
#!/usr/bin/perl
use strict;
use warnings;
use Digest::SHA1;
my $digest = Digest::SHA1->new;


Create a PAR with:
pp -p -o sha.par sha.pl
(Do this on a machine with version 2.12 of Digest::SHA1, eg. from CPAN)

Then copy to new machine (which contains 2.11 of Digest::SHA1, eg. from 
Debian repository), and run it:

to...@arya-tmp$ perl -MPAR sha.par
Digest::SHA1 object version 2.11 does not match bootstrap parameter 2.12 
at /usr/lib/perl/5.10/DynaLoader.pm line 219.
Compilation failed in require at script/shatest.pl line 4.
BEGIN failed--compilation aborted at script/shatest.pl line 4.
BEGIN failed--compilation aborted.


Reply via email to