home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / fromwho / INSTALL < prev    next >
Encoding:
Text File  |  1991-12-12  |  2.8 KB  |  89 lines

  1. Installation instructions for fromwho:
  2.  
  3.  
  4. Updating the `Tweakables' section of the Makefile:
  5.  
  6.   There are seven parameters in the Makefile that affect
  7.   the installation of fromwho:
  8.  
  9.     CC        This is the C compiler you will compile
  10.         with.  It must be ANSI-C compliant.
  11.  
  12.     CCFLAGS    What default flags to send to the C
  13.         compiler.  On some systems you may need
  14.         to add '-Dindex=strchr' to this line.
  15.  
  16.     MAIL    How to find the incoming mailbox for a
  17.         user.  If this is left blank, then the
  18.         incoming mailbox will be
  19.  
  20.             /usr/spool/mail/<username>
  21.  
  22.         If incoming mail is kept in a different
  23.         directory "/xyz/<username>", then
  24.         set MAIL to
  25.  
  26.             -DMAILDIR=\"/xyz/\"
  27.  
  28.         If incoming mail is set up in some other
  29.         fashion (i.e. all mailboxes not in the
  30.         same directory) then set MAIL to
  31.  
  32.             -DMAILFILE=\"<mailbox>\"
  33.  
  34.         where <mailbox> is the path to the mail-
  35.         box file.  <mailbox> may contain a ~ for
  36.         the user's home directory and a * for the
  37.         user's login name.  For example, AIX keeps
  38.         it's incoming mail in the file `.newmail'
  39.         in the user's home directory.  For this
  40.         setup, MAIL would be defined as
  41.  
  42.             -DMAILFILE=\"~/.newmail\"
  43.  
  44.     STRIP    If you want the executable stripped after
  45.         being compiled, set this to `strip', other-
  46.         wise, set it to `touch'.
  47.  
  48.     SECTION    The section of the manual to install as.
  49.         Normally either `1' (one), `l', or `n'.
  50.  
  51.     BIN        The directory to install the executable
  52.         in.
  53.     MAN        The directory to install the manpage in.
  54.            (The manpage will actaully be instaled
  55.         one level below this, in a directory called
  56.         manX, where X is the SECTION defined above)
  57.  
  58.   After setting up these parameters, build the executable
  59.   and manpage with `make' with no parameters.  If there are
  60.   any problems in compiling, send mail to the address given
  61.   at the end of this file describing the errors and the
  62.   system you're trying to install on, and be prepared to
  63.   send a script of the `make' (but don't do this until I ask
  64.   for it :)
  65.  
  66.   If the executable builds correctly, test it out by running
  67.   `make verify'.  It will run through the various test mail-
  68.   boxes to insure that the parameters work correctly and
  69.   that it is reading the mailboxes correctly.  It will also
  70.   create a shell script to attempt to verify that the MAIL
  71.   setting is correct.
  72.  
  73.   When you are satisfied that it works correctly, type `make
  74.   info' to check that the directories are correct, and `make
  75.   install'.  If the directories aren't correct, modify the
  76.   Makefile and re-make.
  77.  
  78. If you have any problems compiling or installing fromwho,
  79. mail a description of the problems encountered and a
  80. description of the system on which you are trying to
  81. install to:
  82.  
  83.     jearls@blackbird.csc.calpoly.edu
  84.  
  85. Be prepared to send a script of the `make' process -- but
  86. not until I ask you for it.  :)
  87.  
  88. Suggestions and comments are also welcome.
  89.