[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CPAN for MacPerl, anyone?



At 11.13 -0500 1999.01.12, Larry Moore wrote:
>Here's what I getwen I syntax check untarzipme.plx: Are any of these
>warnings significant and why do I get the "# Compression not available."?
>
># Can't locate auto/Compress/Zlib/autosplit.ix in @INC.
>File 'MacHD:Perl:MacPerl Ä:lib:AutoLoader.pm'; Line 92
>
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 16
># Subroutine AUTOLOAD redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 76
># Subroutine isaFilehandle redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 102
># Subroutine isaFilename redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 111
># Subroutine gzopen redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 118
># Subroutine ParseParameters redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 134
># Subroutine deflateInit redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 196
># Subroutine inflateInit redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 205
># Subroutine compress redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 212
># Subroutine uncompress redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 240
># Constant subroutine MAGIC1 redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 263
># Constant subroutine MAGIC2 redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 264
># Constant subroutine OSCODE redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 265
># Subroutine memGzip redefined.
>File 'MacHD:Perl:MacPerl Ä:site_perl:Compress:Zlib.pm'; Line 268
># Compression not available.
># MacHD:Perl:MacPerl Ä:site_perl:untarzipme.plx syntax OK

1.  I noted yesterday in a post, but here it is more clearly.  In
Archive::Tar 0.08, change:

  #eval {require Compress::Zlib;};
  eval {die;};

to:

  eval {require Compress::Zlib;};
  #eval {die;};

It is a bug.

2.  Run the autosplit script on Compress::Zlib.

  #!perl -w
  use AutoSplit;
  $dir = "$ENV{MACPERL}site_perl";  # assuming you have it in site_perl
  autosplit("$dir:Compress:Zlib.pm","$dir:auto",0,1,1);


3.  Get Paul's Fixed Library Routines for Exporter and AutoLoader, as per
the original message.  If you put them in site_perl (as I think you
should), you might need to add site_perl to your libraries preferences to
make sure it comes before lib.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch