home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / ZIP19P1.ZIP / install.doc < prev    next >
Text File  |  1993-01-23  |  4KB  |  106 lines

  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".
  45.  
  46.      If none of these compiles, links, and functions properly on
  47.      your Unix system, see the section BUGS below for how to get
  48.      help.
  49.  
  50.      If the appropriate system was selected, then the executables
  51.      zip, zipnote and zipsplit will be created.  You can copy them
  52.      to an appropriate directory in the search path using:
  53.  
  54.           make install
  55.  
  56.      The defaults are /usr/local/bin for the executables and
  57.      /usr/man/man1 for the manual page. Change the macros BINDIR
  58.      and MANDIR in makefile if appropriate.
  59.  
  60.      You can use the command "set" to see the current search
  61.      path.  If you are using the C-Shell (csh), enter the com-
  62.      mand:
  63.  
  64.           rehash
  65.  
  66.      so csh can find the new command in the path.  You are now
  67.      ready to use Zip.
  68.  
  69.      You can get rid of the now unnecessary source and object
  70.      files with:
  71.  
  72.           cd ..
  73.           rm -r zipsrc
  74.  
  75.      This will remove the directory zip and its contents created
  76.      by unzip.  You should keep the zip19.zip file around though,
  77.      in case you need to build it again or want to give it to a
  78.      colleague.
  79.  
  80.      The steps for installation under MSDOS, OS/2, and VMS are
  81.      similar to the above: first unzip the distribution files
  82.      into their own directory. The system dependant files are
  83.      stored in special subdirectories. You may have to
  84.      copy or move them to the main sources directory.
  85.      Then under MSDOS do one of:
  86.  
  87.           make makefile.msc
  88.           make -fmakefile.bor
  89.  
  90.      for Microsoft or Borland C++, respectively. For Turbo C 2.0,
  91.      use the configuration file tcconfig.tc, the batch file
  92.      doturboc.bat and the project files zip.prj, zipnote.prj
  93.      and zipsplit.prj. Make sure to use the compact model.
  94.  
  95.      Under OS/2:
  96.  
  97.           nmake -f makefile.os2
  98.  
  99.      for Microsoft C 6.00.  Under VAX VMS:
  100.  
  101.           @make_vaxc
  102.      or:  @make_gcc
  103.  
  104.      For command help on any of the zip* utilities, simply enter
  105.      the name with no arguments.
  106.