----- Original Message -----
From: "Conor Lillis" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, December 05, 2008 2:07 AM
Subject: PPM issue
> Hi guys
> I have an issue below on running PPM on any packages, has anyone
> encountered this issue before or do they have a workaround?
>
> D:\Admin\Scripts>ppm install net-dns
> ====================
> Install 'Net-IP' version 1.25 in ActivePerl 5.8.7.815.
> ====================
> Couldn't read chunk at offset unknown at
> C:/perl/site/lib/PPM/Archive/Tar.pm line 25
> Error: Can't call method "is_label" on an undefined value at
> C:/perl/site/lib/Archive/Tar.pm line 282.
Doesn't ring any bells with me.
What version of Archive::Tar do you have ?
What's on line 25 ? and line 282 ?
For me (version 1.38_01):
-------------------------------------
21: $CHMOD = 1;
22: $DO_NOT_USE_PREFIX = 0;
23: $INSECURE_EXTRACT_MODE = 0 unless defined $INSECURE_EXTRACT_MODE;
24:
25: BEGIN {
26: use Config;
27: $HAS_PERLIO = $Config::Config{useperlio};
28:
29: ### try and load IO::String anyway, so you can dynamically
30: ### switch between perlio and IO::String
-------------------------------------
-------------------------------------
278: ### line 111
279: { my $nulls = join '', "\0" x 12;
280: unless( $nulls eq substr( $chunk, 500, 12 ) ) {
281: $self->_error( qq[Invalid header block at offset
$offset] );
282: next LOOP;
283: }
284: }
285:
286: ### pass the realname, so we can set it 'proper' right away
287: ### some of the heuristics are done on the name, so important
-------------------------------------
But I have the latest (build 824, perl-5.8.8).
Cheers,
Rob
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs