home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xntp3.zip / README < prev    next >
Text File  |  1992-07-07  |  3KB  |  64 lines

  1. This first set of instructions will allow you to make xntp version 3
  2. for a single architecture; to set up separate compilation trees for
  3. different architectures, see at end.
  4.  
  5. ------- these instructions originally from Dennis Ferguson, ----------
  6. ------- University of Toronto <dennis@gw.ccie.utoronto.ca> -----------
  7.  
  8. To make this:
  9.  
  10. (1) Edit the Config file in this directory to match the machine you
  11.     are installing this on.  You must at least make sure you configure
  12.     the correct byte order for the machine and indicate whether your
  13.     compiler understands `signed char' declarations or not.  There are
  14.     other considerations as well.
  15.  
  16. (2) Type `make makefiles' to distribute the configuration info to the
  17.     Makefiles in the subdirectories.
  18.  
  19. (3) Type `make' to compile everything of general interest.
  20.  
  21. (4) Run the command `authstuff/authcert < authstuff/certdata'.  If the
  22.     last word in each line isn't `OK' there is something wrong.  Likely
  23.     you got the byte order wrong in the Config file.  You will have to
  24.     recompile from scratch if you did.
  25.  
  26. (5) Type `make install' to put the binaries in the system directory
  27.     you mentioned in Config.  At the time of writing this includes
  28.     the programs xntpd (the daemon), xntpdc (an xntpd-dependent query
  29.     program), ntpq (a standard query program), ntpdate (an rdate
  30.     replacement for boot time date setting and sloppy time keeping)
  31.     and xntpres (a program which provides name resolver support for
  32.     xntpd configuration).
  33.  
  34. (6) You are now ready to configure the daemon and start it.  At this
  35.     point it might be useful to format and print the file doc/notes.me
  36.     and read a little bit.  The sections on configuration and on
  37.     tickadj will be immediately useful.
  38.  
  39. All bug reports gratefully received.
  40.  
  41. Dennis
  42.  
  43. ----------------------------------------------------------------------
  44.  
  45. If you want to hack on this code in a multi-architecture environment,
  46. you can set up as follows:
  47.  
  48. (1) From this directory, run the mklinks script once for each
  49.     architecture. If this directory is /some/path/src,
  50.         ./mklinks ../sun4 ../src
  51.     will create a tree under /some/path/sun4 with symbolic links to
  52.     all the source files.
  53.  
  54. (2) For each of the new directories, create or copy a Config file and
  55.     proceed as above.
  56.  
  57. (3) Now, when you install a bug fix, you can just re-make in each
  58.     directory (as long as no extra files appear, at least).
  59.  
  60. Since most of Dennis' bugs are probably overlaid by mine and others',
  61. bug reports should go to me or the mailing list (ntp@ni.umd.edu).
  62.  
  63. Lars Mathiesen (University of Copenhagen) <thorinn@diku.dk>
  64.