I need to install Archive::Zip on a Linux server to deal with a 50MB .zip archive one file at a time.

The current version of Archive::Zip on CPAN comes as a zip file. The CPAN module on my server and/or the version of gzip (v. 1.2.4; Aug 93) does not seem to be able to handle the installation. Transcript follows:

cpan> install Archive::Zip Running install for module Archive::Zip Running make for N/NE/NEDKONZ/Archive-Zip-0.11.zip Fetching with LWP: ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/N/NE/NEDKONZ/Archive-Z +ip-0.11.zip Scanning cache /root/.cpan/build for sizes Deleting from cache: /root/.cpan/build/Bundle-libnet-1.00 (10.1>10.0 M +B) Deleting from cache: /root/.cpan/build/XML-Parser-2.30 (10.1>10.0 MB) CPAN: MD5 loaded ok Fetching with LWP: ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/N/NE/NEDKONZ/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/N/NE/NEDKONZ/Archive-Zip-0 +.11.zip ok gzip: /root/.cpan/sources/authors/id/N/NE/NEDKONZ/Archive-Zip-0.11.zip + has more than one entry--rest ignored Cannot unzip, no unzip program available cpan>

The copy of Archive-Zip-0.11.zip in /root/.cpan/etc/etc is still there. When I "gzip -l" it to check the contents, all it lists is the file itself. No list of internal files... which makes me less than confident about continuing by hand with gzip and that .zip file.

Because this is a zip file, I am concerned also that the contents may be Windows-specific. So I'd like to know more before proceeding with a manual install.

The previous version of Archive::Zip is available as a .tar.gz and dates from March 2000. I could grab that older version for a manual install. I seem to remember a way to use the CPAN module to install a local .tar.gz file but I can't make sense of what little I can find on this. So perhaps the full manual 'Make' routine would be best if I go that route. But is that older version likely to handle a file recently zipped on an up-to-date Linux server?

These system setup issues are not my strong suit, so this seems like a good point to pause and consult with you all. How would you recommend I proceed?


In reply to Problems installing Archive::Zip by dvergin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.