Hello,
I want to build the distributions.
I started as an example with this:
$dist1 = blib_to_par(
path => '/tmp/Class-ErrorHandler-0.01',
dist => '/export/home/user1/test/class_error.par',
);
$dist2 = blib_to_par(
path => '/tmp/Convert-ASN1-0.22',
dist => '/export/home/user1/test/convert_asn1.par',
);
merge_par('/tmp/foo.par',$dist1,$dist2);
First I had to change line #271 from PAR::Dist (v0.40)
rename( $file => $dist );
to
unlink $file if File::Copy::copy($file,$dist) or die "Cannot copy $file: $!";
to cope with a rename function which doesn't work across filesystem
boundaries.
Then a merge_par function dies with this message:
Could not copy '/tmp/parxdotc/lib/Class/ErrorHandler.pm' to
'/tmp/parXyMCf/blib/lib/Class/ErrorHandler.pm': Permission denied at
/usr/local/lib/perl5/site_perl/5.8.8/PAR/Dist.pm line 714.
The target ErrorHandler.pm is already there and has only a read
permission.
Any help?
--
Radek