home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / forut062.zip / ForUtil-0.62 / INSTALL < prev    next >
Text File  |  1996-08-21  |  4KB  |  91 lines

  1. See also `README'
  2.  
  3. This is a generic INSTALL file for utilities distributions.
  4. If this package does not come with, e.g., installable documentation or
  5. data files, please ignore the references to them below.
  6.  
  7. To compile this package:
  8.  
  9. 1.  Configure the package for your system.  In the directory that this
  10. file is in, type `./configure'.  If you're using `csh' on an old
  11. version of System V, you might need to type `sh configure' instead to
  12. prevent `csh' from trying to execute `configure' itself.
  13.  
  14. The `configure' shell script attempts to guess correct values for
  15. various system-dependent variables used during compilation, and
  16. creates the Makefile(s) (one in each subdirectory of the source
  17. directory).  In some packages it creates a C header file containing
  18. system-dependent definitions.  It also creates a file `config.status'
  19. that you can run in the future to recreate the current configuration.
  20. Running `configure' takes a minute or two.
  21.  
  22. To compile the package in a different directory from the one
  23. containing the source code, you must use GNU make.  `cd' to the
  24. directory where you want the object files and executables to go and
  25. run `configure' with the option `--srcdir=DIR', where DIR is the
  26. directory that contains the source code.  Using this option is
  27. actually unnecessary if the source code is in the parent directory of
  28. the one in which you are compiling; `configure' automatically checks
  29. for the source code in `..' if it does not find it in the current
  30. directory.
  31.  
  32. By default, `make install' will install the package's files in
  33. /usr/local/bin, /usr/local/lib, /usr/local/man, etc.  You can specify
  34. an installation prefix other than /usr/local by giving `configure' the
  35. option `--prefix=PATH'.  Alternately, you can do so by changing the
  36. `prefix' variable in the Makefile that `configure' creates (the
  37. Makefile in the top-level directory, if the package contains
  38. subdirectories).
  39.  
  40. You can specify separate installation prefixes for machine-specific
  41. files and machine-independent files.  If you give `configure' the
  42. option `--exec_prefix=PATH', the package will use PATH as the prefix
  43. for installing programs and libraries.  Normally, all files are
  44. installed using the same prefix.
  45.  
  46. `configure' ignores any other arguments that you give it.
  47.  
  48. If your system requires unusual options for compilation or linking
  49. that `configure' doesn't know about, you can give `configure' initial
  50. values for some variables by setting them in the environment.  In
  51. Bourne-compatible shells, you can do that on the command line like
  52. this:
  53.     CC='gcc -traditional' DEFS=-D_POSIX_SOURCE ./configure
  54.  
  55. The `make' variables that you might want to override with environment
  56. variables when running `configure' are:
  57.  
  58. (For these variables, any value given in the environment overrides the
  59. value that `configure' would choose:)
  60. CC        C compiler program.
  61.         Default is `cc', or `gcc' if `gcc' is in your PATH.
  62. INSTALL    Program to use to install files.
  63.         Default is `install' if you have it, `cp' otherwise.
  64. INCLUDES Directory for `configure' to search for include files.
  65.         Default is /usr/include.
  66.  
  67. (For these variables, any value given in the environment is added to
  68. the value that `configure' chooses:)
  69. DEFS        Configuration options, in the form '-Dfoo -Dbar ...'
  70. LIBS        Libraries to link with, in the form '-lfoo -lbar ...'
  71.  
  72. If you need to do unusual things to compile the package, we encourage
  73. you to teach `configure' how to do them and mail the diffs to the
  74. address given in the README so we can include them in the next
  75. release.
  76.  
  77. 2.  Type `make' to compile the package.
  78.  
  79. 3.  Type `make install' to install programs, data files, and
  80. documentation.
  81.  
  82. 4.  You can remove the program binaries and object files from the
  83. source directory by typing `make clean'.  To also remove the
  84. Makefile(s), the header file containing system-dependent definitions
  85. (if the package uses one), and `config.status' (all the files that
  86. `configure' created), type `make distclean'.
  87.  
  88. The file `configure.in' is used as a template to create `configure' by
  89. a program called `autoconf'.  You will only need it if you want to
  90. regenerate `configure' using a newer version of `autoconf'.
  91.