Annotation of coherent/b/bin/zip/install.doc, revision 1.1.1.1

1.1       root        1: HOW TO INSTALL ZIP
                      2:      Zip is distributed as C source code that can be compiled on
                      3:      a wide range of Unix machines, VAXes running VMS, and MSDOS
                      4:      machines using Microsoft or Borland C++, and OS/2 machines
                      5:      using Microsoft C.  You will need Unzip 5.0 (under Unix, MSDOS,
                      6:      or VMS) or PKUNZIP 1.93a (under MSDOS) to unpack the distribution
                      7:      file, zip19.zip. But since you read this, you have unpacked it
                      8:      already, or you cheated and got a tar.Z file...
                      9: 
                     10:      Let's assume however that you start from scratch and have not yet
                     11:      unpacked the sources. First, unpack the source as follows,
                     12:      assuming that you have zip19.zip in the current directory.
                     13: 
                     14:           mkdir zipsrc
                     15:           cd zipsrc
                     16:           unzip ../zip19
                     17: 
                     18:      This extracts all source files and documentation in the
                     19:      directory called "zipsrc". If you wish to build a version
                     20:      of zip with encryption capabilities, you must also get the
                     21:      separate package zcrypt19.zip and uncomment the definition
                     22:      of MAKE at the beginning of the makefile.
                     23: 
                     24:      You then do:
                     25: 
                     26:           make system
                     27: 
                     28:      where "system" is one of: bsd, bsdold, sysv, sysv_386, sysv_old, sun,
                     29:      sun_gcc, next, next10, hpux, dnix, cray, 3b1, zilog, aux, convex, aix,
                     30:      minix, isc, dynix, ultrix, dec_osf1 or xos. If you are using a NeXT
                     31:      running version 2.0 or greater, then make next.  If you are using 1.0,
                     32:      then make next10.  If you are using Sun OS 4.x, then make sun (or
                     33:      sun_gcc if you use gcc). If you are using SVR4 on a 386, use
                     34:      sysv_386 to get the optimized asm code.
                     35: 
                     36:      The other special systems are HPUX, DNIX 5.2 or 5.3, Cray Unicos,
                     37:      AT&T 3B1 (also known as Unix PC or PC 7300), Zilog Zeus, A/UX,
                     38:      Convex, AIX, MINIX, ISC System V/386, Dynix, Ultrix and DEC OSF/1.
                     39: 
                     40:      Otherwise, if you are using BSD Unix, try bsd.  If the linker
                     41:      cannot find _memset or _memcpy, try bsdold.  If you are using
                     42:      System V Unix or SCO Unix, try sysv or sysv_old.  Also use sysv
                     43:      on a Silicon Graphics (SGI) machine.  You can also cross-compile
                     44:      Zip for MSDOS under SCO 386 Unix using "make scodos". If you get
                     45:      error messages "constant expected" in deflate.c, add -DDYN_ALLOC
                     46:      to CFLAGS in your makefile entry.
                     47: 
                     48:      If none of these compiles, links, and functions properly on
                     49:      your Unix system, see the file Readme for how to get help.
                     50: 
                     51:      If the appropriate system was selected, then the executables
                     52:      zip, zipnote and zipsplit will be created.  You can copy them
                     53:      to an appropriate directory in the search path using:
                     54: 
                     55:           make install
                     56: 
                     57:      The defaults are /usr/local/bin for the executables and
                     58:      /usr/man/man1 for the manual page. Change the macros BINDIR
                     59:      and MANDIR in makefile if appropriate.
                     60: 
                     61:      You can use the command "set" to see the current search
                     62:      path.  If you are using the C-Shell (csh), enter the com-
                     63:      mand:
                     64: 
                     65:           rehash
                     66: 
                     67:      so csh can find the new command in the path.  You are now
                     68:      ready to use Zip.
                     69: 
                     70:      You can get rid of the now unnecessary source and object
                     71:      files with:
                     72: 
                     73:           cd ..
                     74:           rm -r zipsrc
                     75: 
                     76:      This will remove the directory zip and its contents created
                     77:      by unzip.  You should keep the zip19.zip file around though,
                     78:      in case you need to build it again or want to give it to a
                     79:      colleague.
                     80: 
                     81:      The steps for installation under MSDOS, OS/2, and VMS are
                     82:      similar to the above: first unzip the distribution files
                     83:      into their own directory. The system dependant files are
                     84:      stored in special subdirectories. You may have to
                     85:      copy or move them to the main sources directory.
                     86:      Then under MSDOS do one of:
                     87: 
                     88:           make makefile.msc
                     89:           make -fmakefile.bor
                     90: 
                     91:      for Microsoft or Borland C++, respectively. For Turbo C 2.0,
                     92:      use the configuration file tcconfig.tc, the batch file
                     93:      doturboc.bat and the project files zip.prj, zipnote.prj
                     94:      and zipsplit.prj. Make sure to use the compact model.
                     95: 
                     96:      Under OS/2:
                     97: 
                     98:           nmake -f makefile.os2
                     99: 
                    100:      for Microsoft C 6.00.  Under VAX VMS:
                    101: 
                    102:           @make_vaxc
                    103:      or:  @make_gcc
                    104: 
                    105:      For command help on any of the zip* utilities, simply enter
                    106:      the name with no arguments.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.