home *** CD-ROM | disk | FTP | other *** search
- Installation instructions for fromwho:
-
-
- Updating the `Tweakables' section of the Makefile:
-
- There are seven parameters in the Makefile that affect
- the installation of fromwho:
-
- CC This is the C compiler you will compile
- with. It must be ANSI-C compliant.
-
- CCFLAGS What default flags to send to the C
- compiler. On some systems you may need
- to add '-Dindex=strchr' to this line.
-
- MAIL How to find the incoming mailbox for a
- user. If this is left blank, then the
- incoming mailbox will be
-
- /usr/spool/mail/<username>
-
- If incoming mail is kept in a different
- directory "/xyz/<username>", then
- set MAIL to
-
- -DMAILDIR=\"/xyz/\"
-
- If incoming mail is set up in some other
- fashion (i.e. all mailboxes not in the
- same directory) then set MAIL to
-
- -DMAILFILE=\"<mailbox>\"
-
- where <mailbox> is the path to the mail-
- box file. <mailbox> may contain a ~ for
- the user's home directory and a * for the
- user's login name. For example, AIX keeps
- it's incoming mail in the file `.newmail'
- in the user's home directory. For this
- setup, MAIL would be defined as
-
- -DMAILFILE=\"~/.newmail\"
-
- STRIP If you want the executable stripped after
- being compiled, set this to `strip', other-
- wise, set it to `touch'.
-
- SECTION The section of the manual to install as.
- Normally either `1' (one), `l', or `n'.
-
- BIN The directory to install the executable
- in.
- MAN The directory to install the manpage in.
- (The manpage will actaully be instaled
- one level below this, in a directory called
- manX, where X is the SECTION defined above)
-
- After setting up these parameters, build the executable
- and manpage with `make' with no parameters. If there are
- any problems in compiling, send mail to the address given
- at the end of this file describing the errors and the
- system you're trying to install on, and be prepared to
- send a script of the `make' (but don't do this until I ask
- for it :)
-
- If the executable builds correctly, test it out by running
- `make verify'. It will run through the various test mail-
- boxes to insure that the parameters work correctly and
- that it is reading the mailboxes correctly. It will also
- create a shell script to attempt to verify that the MAIL
- setting is correct.
-
- When you are satisfied that it works correctly, type `make
- info' to check that the directories are correct, and `make
- install'. If the directories aren't correct, modify the
- Makefile and re-make.
-
- If you have any problems compiling or installing fromwho,
- mail a description of the problems encountered and a
- description of the system on which you are trying to
- install to:
-
- jearls@blackbird.csc.calpoly.edu
-
- Be prepared to send a script of the `make' process -- but
- not until I ask you for it. :)
-
- Suggestions and comments are also welcome.
-