home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / lsof / 00README < prev    next >
Encoding:
Text File  |  1991-12-01  |  1.5 KB  |  40 lines

  1.             Making and Installing lsof 1.0
  2.  
  3. The Makefile contains rules for making Makefile's for specific UNIX versions
  4. -- e. g., ``make Makefile.sun''.  If none of the supplied rules fits your
  5. configuration, the Makefile has comments about the strings that you may need
  6. to change.  You may need to check your cpp documentation to see if the standard
  7. symbol that lsof.c assumes for your system is defined.  As an example, if the
  8. ``hpux'' symbol is defined by cpp, to compile lsof under HP-UX 8.x, you need
  9. to declare:
  10.  
  11.     SYSDEFS = -DHPUX8
  12.  
  13. Set the following Makefile strings for installing lsof:
  14.  
  15.     BIN        destination directory for the install rule
  16.     CDEFS        compiler definitions
  17.     DEBUG        compiler optimizations -- e. g., -g or -O
  18.     DOC        destination directory for the PUCC-specific mkcat rule
  19.     GRP        group (may need to be the group that can read
  20.             /dev/kmem) (see MODE)
  21.     LDLIB        special loader library -- e. g., -lkvm for SunOS
  22.     MODE        0755 + 2000 if setgid access needed to /dev/kmem,
  23.             and +4000 if any user should be able to search for
  24.             any file, regardless of ownership or permissions
  25.     SHELL        the shell make(1) should use -- usually /bin/sh
  26.  
  27. You may also have to change the install rule to use separate commands --
  28. cp, chown, chgrp, chmod -- if your system's install command does not honor
  29. Berkeley syntax.
  30.  
  31. If your HP-UX hp9000s800 system does not have the <sys/fss.h> header file
  32. add ``-I.'' to the CDEFS rule -- e. g.,
  33.  
  34.     CDEFS= -I.
  35.  
  36.  
  37. Vic Abell <abe@mace.cc.purdue.edu>
  38. Purdue University Computing Center (PUCC)
  39. November 22, 1991
  40.