home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / CLIPPER / CLIPTIPS.ZIP / SUPTBULL.ZIP / S50002.TXT < prev    next >
Text File  |  1992-05-28  |  15KB  |  352 lines

  1. Clipper Support Bulletin #2
  2. Clipper 5.0 installation procedure
  3.  
  4. Copyright (c) 1991, 1992 Nantucket Corporation.  All rights reserved.
  5.  
  6.  
  7. Version:  Clipper 5.0, revisions 1.00 - 1.03
  8. Date:     27th September, 1990
  9. Revised:  21st May, 1992
  10. Status:   Active
  11.  
  12. ================================================================================
  13.  
  14. This Support Bulletin covers the following topics:
  15.  
  16.    1. The Clipper 5.0 Install Program
  17.    2. Installation Pitfalls
  18.        2.1  Missing files due to insufficient disk space on the target drive.
  19.        2.2  Insufficient memory to build utilities ("memory overbooked"
  20.             messages).
  21.        2.3  System hangs while building utilities.
  22.        2.4  Problems installing in DOS 4.x environment.
  23.        2.5  Other Problems
  24.    3. Manual Installation
  25.        3.1  Default Directory Structure
  26.        3.2  How to Install a Single Archive File
  27.        3.3  Modifying your Environment Variables
  28.        3.4  Building Utilities Manually
  29.        3.5  Manually Creating the Base Prelinked Library.
  30.        3.6  Installing the Entire System Manually
  31.  
  32. For information about the contents of the distribution disks and archive files,
  33. please refer to Clipper Support Bulletin #1 (S50001.TXT).
  34.  
  35. ================================================================================
  36. 1. The Clipper 5.0 Install Program
  37.    
  38.    Clipper 5.0 distribution files are supplied in the form of "self-
  39.    expanding" archive files.  Clipper 5.0 includes an automated
  40.    install program (INSTALL.EXE) that expands the archive files
  41.    into specified target locations, and optionally builds utilities
  42.    and a base prelinked library (.PLL).
  43.    
  44.    INSTALL is driven by an installation script (INSTALL.INS) which
  45.    describes the location of the archive files on the distribution
  46.    disks and the default locations of the distribution files on the
  47.    target drive.  The basic sequence of operations for INSTALL is
  48.    as follows:
  49.    
  50.    1. Ask user for information regarding paths and installation
  51.    options.
  52.    
  53.    2. Create subdirectories on the target drive.
  54.    
  55.    3. Extract distribution files from the archive files on the
  56.    distribution disks.
  57.    
  58.    4. Build base prelinked library (if requested).
  59.    
  60.    5. Build utilities (if requested).
  61.    
  62.    6. Create AUTOEXEC.CHG and CONFIG.CHG files that detail
  63.    necessary changes to your AUTOEXEC.BAT and CONFIG.SYS files.
  64.    
  65.    INSTALL is designed so that it can be rerun to complete an
  66.    interrupted installation or to install optional files at a later
  67.    time.  If problems occur during installation, INSTALL can be
  68.    rerun to complete the installation after the problem has been
  69.    resolved.  When rerunning INSTALL, select the desired
  70.    installation options as if you were installing for the first
  71.    time.  INSTALL will check the contents of the specified target
  72.    drive and directory against the distribution disks and transfer
  73.    or build any necessary files.
  74.    
  75. ================================================================================
  76. 2. Installation Pitfalls
  77.    
  78.    The following are some common problems that can occur during
  79.    installation.
  80.    
  81.    ----------------------------------------------------------------------------
  82.    2.1  Missing files due to insufficient disk space on the target drive.
  83.    
  84.    SOLUTION: Make more space available on the target drive and then
  85.    rerun the install program.
  86.    
  87.    ----------------------------------------------------------------------------
  88.    2.2  Insufficient memory to build utilities ("memory overbooked" messages).
  89.    
  90.    EXPLANATION: To build the utilities, INSTALL requires
  91.    approximately 523K of free memory.
  92.    
  93.    SOLUTION: Make additional memory available by rebooting your
  94.    computer without memory resident utilities or network software,
  95.    then rerun INSTALL.
  96.    
  97.    ALTERNATE SOLUTION: Build the utility programs manually (see
  98.    Building Utilities Manually below).
  99.    
  100.    ----------------------------------------------------------------------------
  101.    2.3  System hangs while building utilities.
  102.    
  103.    EXPLANATION: INSTALL generates a batch file in order to build the
  104.    utilities.  This batch file includes a SET PATH command to add
  105.    some necessary directories to the PATH environment variable.
  106.    Under some versions of DOS, attempting to increase the length of
  107.    the PATH environment variable beyond 128 bytes causes COMMAND.COM
  108.    to hang.
  109.    
  110.    SOLUTION: Remove unnecessary entries from PATH and rerun INSTALL.
  111.    
  112.    ALTERNATE SOLUTION: Build the utility programs manually (see
  113.    Building Utilities Manually below).
  114.    
  115.    ----------------------------------------------------------------------------
  116.    2.4  Problems installing in DOS 4.x environment.
  117.    
  118.    EXPLANATION: When creating the batch files to build utilities,
  119.    INSTALL may generate a SET PATH command which ends with a
  120.    semicolon.  Under DOS 4.x this causes COMMAND.COM to issue an
  121.    error message.
  122.    
  123.    ALTERNATE SOLUTION: Build the utility programs manually (see
  124.    Building Utilities Manually below).
  125.    
  126.    ----------------------------------------------------------------------------
  127.    2.5  Other Problems
  128.    
  129.    If you experience an installation problem that is not listed here,
  130.    please contact Nantucket Technical Support at (310) 390-7923, or
  131.    via Compuserve NANFORUM (leave message for SYSOP).  If possible,
  132.    please include the following information about your environment:
  133.    machine make and model, DOS version, memory available during
  134.    installation, any memory-resident software you are using.
  135.    
  136. ================================================================================
  137. 3. Manual Installation
  138.    
  139.    As noted above, Clipper 5.0 distribution files are supplied in the
  140.    form of "self-expanding" archive files.  The archive files are
  141.    executable (.EXE) files.  Each archive file, when executed,
  142.    creates one or more of the Clipper 5.0 distribution files.  The
  143.    archives are executed automatically by INSTALL.  They may also be
  144.    executed directly, allowing all or any part of Clipper 5.0 to be
  145.    installed manually.
  146.    
  147.    ----------------------------------------------------------------------------
  148.    3.1  Default Directory Structure
  149.    
  150.    Clipper 5.0 is designed to be installed in a directory structure
  151.    (i.e. a directory and a series of subdirectories) on a hard disk.
  152.    The distribution files are grouped into archives in such a way
  153.    that each archive is associated with a particular subdirectory of
  154.    the default directory structure.
  155.    
  156.    Shown below is the default directory structure and its relation to
  157.    the archive files.  For more information about the directory
  158.    structure, refer to the "Getting Started Guide."  For information
  159.    about the contents of the distribution disks and the archive
  160.    files, refer to Clipper Support Bulletin #1 (S50001.TXT).
  161.    
  162.         \CLIPPER5
  163.              \BIN containing files from archive file BIN.EXE
  164.    
  165.              \INCLUDE containing files from archive file INCLUDE.EXE
  166.              \LIB containing files from archive files LIB1.EXE and
  167.              LIB2.EXE
  168.              \PLL containing file BASE50.LNK from archive file
  169.    LIB2.EXE
  170.              \SOURCE
  171.              \DBU containing files from archive file DBU.EXE
  172.              \PE containing files from archive file PE.EXE
  173.              \RL containing files from archive file RL.EXE
  174.              \SAMPLE containing files from archive file SAMPLE.EXE
  175.              \NG containing files from archive files NG1.EXE and
  176.    NG2.EXE
  177.    
  178.    ----------------------------------------------------------------------------
  179.    3.2  How to Install a Single Archive File
  180.    
  181.    1. Determine which archive file is required based on which part of
  182.    Clipper 5.0 is to be installed (refer to Clipper Support Bulletin
  183.    #1, S50001.TXT).
  184.    
  185.    2. Place the appropriate distribution disk in a floppy drive.
  186.    
  187.    3. Choose the target drive and directory to contain the
  188.    distribution files.
  189.    
  190.    4. If necessary, create the target directory on the target drive.
  191.    
  192.    5. Select the target drive as the current drive and change
  193.    directory to the target directory.
  194.    
  195.    6. Execute the appropriate archive file from the floppy.  The
  196.    archive file will create the appropriate distribution files in the
  197.    current drive and directory.
  198.    
  199.    For example, the steps for manually installing the DBU
  200.    distribution files are as follows:
  201.    
  202.    1. The archive file required is DBU.EXE.
  203.    
  204.    2. Place the appropriate distribution disk in floppy drive A.  For
  205.    the 5-1/4 inch distribution disks, DBU.EXE is on disk #4.  For the
  206.    3-1/2 inch distribution disks, DBU.EXE is on disk #2.
  207.    
  208.    3. Choose the target drive and directory to contain the
  209.    distribution files.  Assuming that drive C is the target drive and
  210.    that you wish to use the default directory structure, the DBU
  211.    files should be installed in C:\CLIPPER5\SOURCE\DBU.
  212.    
  213.    4. If necessary, create the target directory on the target drive.
  214.    If the directory C:\CLIPPER5\SOURCE\DBU does not exist, create the
  215.    missing directory or directories.  For example:
  216.    
  217.      c:
  218.      md \clipper5
  219.    
  220.      md \clipper5\source
  221.      md \clipper5\source\dbu
  222.    
  223.    (Note that the "md" commands will fail if the specified directory
  224.    already exists--this is normal.)
  225.    
  226.    5. Select the target drive as the current drive and change
  227.    directory to the target directory.  For example:
  228.    
  229.      c:
  230.      cd \clipper5\source\dbu
  231.    
  232.    6. Execute the appropriate archive file from the floppy.  For
  233.    example:
  234.    
  235.      a:dbu
  236.    
  237.    ----------------------------------------------------------------------------
  238.    3.3  Modifying your Environment Variables
  239.    
  240.    Certain environment (SET command) variables should be set for
  241.    Clipper 5.0.  Generally, this is accomplished by modifying your
  242.    AUTOEXEC.BAT file to automatically set the variables each time you
  243.    boot your computer.  The required settings are as follows:
  244.    
  245.    The PATH variable should include the directory where Clipper 5.0
  246.    executable files reside (example: C:\CLIPPER5\BIN).
  247.    
  248.    The LIB variable should include the directory where Clipper 5.0
  249.    library files reside (example: C:\CLIPPER5\LIB).
  250.    
  251.    The INCLUDE variable should include the directory where Clipper
  252.    5.0 include files reside (example: C:\CLIPPER5\INCLUDE).
  253.    
  254.    For example (placed at the end of AUTOEXEC.BAT):
  255.    
  256.      set path=c:\clipper5\bin;%path%
  257.      set lib=c:\clipper5\lib
  258.      set include=c:\clipper5\include
  259.    
  260.    You may also wish to set other environment variables.  For more
  261.    information, refer to the "Getting Started Guide" and the
  262.    "Programming and Utilities Guide".  For general information about
  263.    the DOS environment and setting environment variables, refer to
  264.    your DOS manual.
  265.    
  266.    ----------------------------------------------------------------------------
  267.    3.4  Building Utilities Manually
  268.    
  269.    Certain Clipper 5.0 utility programs (DBU, PE, RL) are supplied in
  270.    source code form.  These utilities must be compiled and linked
  271.    before they can be used.  INSTALL will optionally install and
  272.    build these utilities automatically.  If you elected not to
  273.    install or build the utilities, or if INSTALL failed to build them
  274.    successfully, they may be built manually.
  275.    
  276.    IMPORTANT: before the utilities can be successfully built, the
  277.    following requirements must be met:
  278.    
  279.    1. The Clipper 5.0 executables, libraries, and include files (the
  280.    files in C:\CLIPPER5\BIN, C:\CLIPPER5\LIB, and
  281.    C:\CLIPPER5\INCLUDE, respectively) must be properly installed.
  282.    
  283.    2. Your environment variables must be set correctly (see above).
  284.    
  285.    3. The source files for the desired utility must be available.  If
  286.    the source files have not been transferred from the distribution
  287.    disks, you can retrieve them using the INSTALL program or the
  288.    manual procedure described above.
  289.    
  290.    Each utility includes a make file (a .RMK file used by RMAKE)
  291.    which will compile and link the utility.  To make a utility,
  292.    simply go to the appropriate directory and execute RMAKE on the
  293.    script (.RMK) file.
  294.    
  295.    For example, the following commands will build DBU:
  296.    
  297.      c:
  298.      cd \clipper5\source\dbu
  299.      rmake dbu
  300.    
  301.    NOTE: this example will create the DBU executable file (DBU.EXE)
  302.    in the current directory (C:\CLIPPER5\SOURCE\DBU).  You should
  303.    copy the executable file into the \CLIPPER5\BIN directory so that
  304.    it is accessible via SET PATH.
  305.    
  306.    ----------------------------------------------------------------------------
  307.    3.5  Manually Creating the Base Prelinked Library.
  308.    
  309.    Prelinked libraries (.PLL files) allow faster linking and code
  310.    sharing among different applications.  The distribution disks
  311.    contain a linker script file (BASE50.LNK) which will create a
  312.    general purpose .PLL called BASE50.PLL (for information on
  313.    building and using .PLL's, refer to the "Programming and Utilities
  314.    Guide").  BASE50.PLL is optionally created by INSTALL during
  315.    installation.  If you elected not to create BASE50.PLL, or if
  316.    INSTALL did not create it successfully, you can create it
  317.    manually.
  318.    
  319.    IMPORTANT: before BASE50.PLL can be successfully created, the
  320.    following requirements must be met:
  321.    
  322.    1. The Clipper 5.0 executables and libraries (the files in
  323.    C:\CLIPPER5\BIN and C:\CLIPPER5\LIB, respectively) must be
  324.    properly installed.
  325.    
  326.    2. Your environment variables must be set correctly (see above).
  327.    
  328.    3. The PLL directory (\CLIPPER5\PLL) must have been created and
  329.    the BASE50.LNK file must reside in it.
  330.    
  331.    To build the BASE50.PLL, change directory to the PLL directory and
  332.    run .RTLink on the supplied script file (BASE50.LNK).  For
  333.    example:
  334.    
  335.      c:
  336.      cd \clipper5\pll
  337.      rtlink @base50
  338.    
  339.    ----------------------------------------------------------------------------
  340.    3.6  Installing the Entire System Manually
  341.    
  342.    If necesary, the entire Clipper 5.0 system can be installed
  343.    manually using the techniques described above.  To do this,
  344.    manually install each archive file from the distribution disks
  345.    (see How to Install a Single Archive File above).  Then modify
  346.    your environment variables (Modifying your Environment Variables
  347.    above).  Finally, if desired, the utilities and base prelinked
  348.    library can be created.
  349.    
  350.  
  351.                               *  *  *
  352.