Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Unzip 6.0 won't work on large file zipped with Zip 3.0

SOLVED
Go to solution
Jim Pickard
Occasional Visitor

Unzip 6.0 won't work on large file zipped with Zip 3.0

I downloaded and built Zip 3.0 and UnZip 6.0 on VMS 7.3-2 Alpha from ftp://ftp.info-zip.org/pub/infozip/vms/ but am unable to get them to zip and unzip a large (10+GB) file:

Directory CLIENT1109:[FMC215]

TRANSREP.CUS;1 21108760/21108768 29-MAR-2010 20:00:08.77

Total of 1 file, 21108760/21108768 blocks.


$ ZIP BIGTEST TRANSREP.CUS
adding: transrep.cus
(deflated 89%)

$ unzip -o bigtest.zip
Archive: CLIENT1109:[FMC215]BIGTEST.ZIP;1
skipping: transrep.cus need PK compat. v4.5 (can do v2.1)


$ zip -v
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon. Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with DEC C V6.5-001 for OpenVMS (V7.3-2 Alpha) on Apr 1 2010.

Zip special compilation options:
USE_EF_UT_TIME (store Universal Time)
VMS_PK_EXTRA
SYMLINK_SUPPORT (symbolic links supported, if C RTL permits)
LARGE_FILE_SUPPORT (can read and write large files on file system)
ZIP64_SUPPORT (use Zip64 to store large files in archives)
[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
The encryption code of this program is not copyrighted and is
put in the public domain. It was originally written in Europe
and, to the best of our knowledge, can be freely distributed
in both source and object forms from any country, including
the USA under License Exception TSU of the U.S. Export
Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
ZIP_OPTS: [none]
ZIPOPT: [none]

$ unzip -v
UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with DEC C V6.5-001 for OpenVMS (V7.3-2 Alpha) on Apr 1 2010.

UnZip special compilation options:
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
SET_DIR_ATTRIB
SYMLINKS (symbolic links supported, if RTL and file system permit)
TIMESTAMP
USE_EF_UT_TIME
USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
[decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
UNZIP_OPTS: [none]
UNZIPOPT: [none]
ZIPINFO_OPTS: [none]
ZIPINFOOPT: [none]

Works fine for smaller (50-100MB) files.

Do I need to specify any options on the zip or unzip to handle the large files?
4 REPLIES
cnb
Honored Contributor

Re: Unzip 6.0 won't work on large file zipped with Zip 3.0

Hoff
Honored Contributor
Solution

Re: Unzip 6.0 won't work on large file zipped with Zip 3.0

Your unzip build lacked the LARGE_FILE_SUPPORT option.
Jim Pickard
Occasional Visitor

Re: Unzip 6.0 won't work on large file zipped with Zip 3.0

Doh! Missed that during the build, likely from trying to do four things at once.

That fixed it, thank you very much.
Jim Pickard
Occasional Visitor

Re: Unzip 6.0 won't work on large file zipped with Zip 3.0

.