Welcome, Guest.
Please login or register.
How to include large file support in unzip 6.00
Forum Login
Login Name: Create a new account
Password:     Forgot password

Info-ZIP Discussion Forum    Info-ZIP Software Discussions and Feature Requests    Info-ZIP UnZip  ›  How to include large file support in unzip 6.00

How to include large file support in unzip 6.00  This thread currently has 645 views. Print
1 Pages 1 Recommend Thread
Sharma
February 5, 2010, 3:35pm Report to Moderator
Baby Member
Posts: 2
I followed the steps given below to install the latest unzip (6.00) and ran into a quandry:
1. Downloaded unzip600.zip from http://sourceforge.net/projects/infozip/files/ to Fedora 7 Linux
2. Unzipped its files using the "stock" unzip on Fedora.
3. Compiled using "make -f unix/Makefile linux", which went ok and an executable "unzip" was created.
4. Ran "unzip -v" and received the output given below. It does not have large_file_support.
Please let me know how to build unzip with large file support. I am new to this forum and would really appreciate help -- I obviously did something wrong. Thanks very much in advance.
- Sharma
Output mentioned above:

 ./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 gcc 4.1.1 20061011 (Red Hat 4.1.1-30) for Unix (Linux ELF) on Feb  5 2010.

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

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]
         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
Logged
Private Message
Sharma
February 5, 2010, 4:13pm Report to Moderator
Baby Member
Posts: 2
I have found a way to include the large file support in unzip.
I discovered, after some trial and error, that the use of "make -f unix/Makefile generic" builds unzip with large file support. However, "make -f unix/Makefile linux" does not.
Of course before running either of these, do "rm *.o unzip" to clean the directory off old files that could affect the make process.

This fact might be well-known to the experienced folks, but it will be useful for newcomers like me.
- Sharma
Logged
Private Message Reply: 1 - 2
sms
February 6, 2010, 3:09am Report to Moderator
Info-ZIP Team
Posts: 463
> I discovered, after some trial and error, [...]

   Read INSTALL, look for "unix"?

        [...] The "generic" target
        works for most systems, [...]

It's not so clear as it should be, and no one tells you what goes wrong
when you use something else, but it is in there somewhere.

> Of course before running either of these, do "rm *.o unzip"  [...]

   Comments in "unix/Makefile" describe a "clean" target, too.

   It's probably time to re-write this stuff.

   Glad you got it working, even though it wasn't easy.  Be sure to
complain again when it misbehaves.
Logged Online
Private Message Reply: 2 - 2
1 Pages 1 Recommend Thread
Print

Info-ZIP Discussion Forum    Info-ZIP Software Discussions and Feature Requests    Info-ZIP UnZip  ›  How to include large file support in unzip 6.00