patch-INSTALL 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- libtirpc-0.2.0.orig/INSTALL 2009-05-28 21:25:26.000000000 +0200
  3. +++ libtirpc-0.2.0/INSTALL 2009-05-29 20:19:10.039164332 +0200
  4. @@ -1,35 +1,19 @@
  5. -Copyright 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
  6. -Foundation, Inc.
  7. +Installation Instructions
  8. +*************************
  9. +
  10. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
  11. +2006, 2007, 2008 Free Software Foundation, Inc.
  12. This file is free documentation; the Free Software Foundation gives
  13. unlimited permission to copy, distribute and modify it.
  14. -
  15. -TI-RPC Library Quick Installation
  16. -=================================
  17. -
  18. - Without GSS API
  19. -
  20. -$ ./configure
  21. -$ make
  22. -# make install
  23. -
  24. - To enable utilization of RPCSEC via GSS API use following commands
  25. -but you need to install libgssapi from the CITI before
  26. -
  27. -$ ./configure --enable-gss
  28. -$ make
  29. -# make install
  30. -
  31. - Once installed, you can customize the /etc/netconfig configuration file
  32. -to configure the supported protocols. To support INET6 udp/tcp, uncomment
  33. -the udp6/tcp6 lines.
  34. -
  35. -
  36. Basic Installation
  37. ==================
  38. - These are generic installation instructions.
  39. + Briefly, the shell commands `./configure; make; make install' should
  40. +configure, build, and install this package. The following
  41. +more-detailed instructions are generic; see the `README' file for
  42. +instructions specific to this package.
  43. The `configure' shell script attempts to guess correct values for
  44. various system-dependent variables used during compilation. It uses
  45. @@ -42,9 +26,9 @@ debugging `configure').
  46. It can also use an optional file (typically called `config.cache'
  47. and enabled with `--cache-file=config.cache' or simply `-C') that saves
  48. -the results of its tests to speed up reconfiguring. (Caching is
  49. +the results of its tests to speed up reconfiguring. Caching is
  50. disabled by default to prevent problems with accidental use of stale
  51. -cache files.)
  52. +cache files.
  53. If you need to do unusual things to compile the package, please try
  54. to figure out how `configure' could check whether to do them, and mail
  55. @@ -54,20 +38,17 @@ some point `config.cache' contains resul
  56. may remove or edit it.
  57. The file `configure.ac' (or `configure.in') is used to create
  58. -`configure' by a program called `autoconf'. You only need
  59. -`configure.ac' if you want to change it or regenerate `configure' using
  60. -a newer version of `autoconf'.
  61. +`configure' by a program called `autoconf'. You need `configure.ac' if
  62. +you want to change it or regenerate `configure' using a newer version
  63. +of `autoconf'.
  64. The simplest way to compile this package is:
  65. 1. `cd' to the directory containing the package's source code and type
  66. - `./configure' to configure the package for your system. If you're
  67. - using `csh' on an old version of System V, you might need to type
  68. - `sh ./configure' instead to prevent `csh' from trying to execute
  69. - `configure' itself.
  70. + `./configure' to configure the package for your system.
  71. - Running `configure' takes awhile. While running, it prints some
  72. - messages telling which features it is checking for.
  73. + Running `configure' might take a while. While running, it prints
  74. + some messages telling which features it is checking for.
  75. 2. Type `make' to compile the package.
  76. @@ -86,6 +67,9 @@ The simplest way to compile this package
  77. all sorts of other programs in order to regenerate files that came
  78. with the distribution.
  79. + 6. Often, you can also type `make uninstall' to remove the installed
  80. + files again.
  81. +
  82. Compilers and Options
  83. =====================
  84. @@ -97,7 +81,7 @@ for details on some of the pertinent env
  85. by setting variables in the command line or in the environment. Here
  86. is an example:
  87. - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
  88. + ./configure CC=c99 CFLAGS=-g LIBS=-lposix
  89. *Note Defining Variables::, for more details.
  90. @@ -106,34 +90,46 @@ Compiling For Multiple Architectures
  91. You can compile the package for more than one kind of computer at the
  92. same time, by placing the object files for each architecture in their
  93. -own directory. To do this, you must use a version of `make' that
  94. -supports the `VPATH' variable, such as GNU `make'. `cd' to the
  95. +own directory. To do this, you can use GNU `make'. `cd' to the
  96. directory where you want the object files and executables to go and run
  97. the `configure' script. `configure' automatically checks for the
  98. source code in the directory that `configure' is in and in `..'.
  99. - If you have to use a `make' that does not support the `VPATH'
  100. -variable, you have to compile the package for one architecture at a
  101. -time in the source code directory. After you have installed the
  102. -package for one architecture, use `make distclean' before reconfiguring
  103. -for another architecture.
  104. + With a non-GNU `make', it is safer to compile the package for one
  105. +architecture at a time in the source code directory. After you have
  106. +installed the package for one architecture, use `make distclean' before
  107. +reconfiguring for another architecture.
  108. +
  109. + On MacOS X 10.5 and later systems, you can create libraries and
  110. +executables that work on multiple system types--known as "fat" or
  111. +"universal" binaries--by specifying multiple `-arch' options to the
  112. +compiler but only a single `-arch' option to the preprocessor. Like
  113. +this:
  114. +
  115. + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  116. + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
  117. + CPP="gcc -E" CXXCPP="g++ -E"
  118. +
  119. + This is not guaranteed to produce working output in all cases, you
  120. +may have to build one architecture at a time and combine the results
  121. +using the `lipo' tool if you have problems.
  122. Installation Names
  123. ==================
  124. - By default, `make install' will install the package's files in
  125. -`/usr/local/bin', `/usr/local/man', etc. You can specify an
  126. -installation prefix other than `/usr/local' by giving `configure' the
  127. -option `--prefix=PATH'.
  128. + By default, `make install' installs the package's commands under
  129. +`/usr/local/bin', include files under `/usr/local/include', etc. You
  130. +can specify an installation prefix other than `/usr/local' by giving
  131. +`configure' the option `--prefix=PREFIX'.
  132. You can specify separate installation prefixes for
  133. architecture-specific files and architecture-independent files. If you
  134. -give `configure' the option `--exec-prefix=PATH', the package will use
  135. -PATH as the prefix for installing programs and libraries.
  136. -Documentation and other data files will still use the regular prefix.
  137. +pass the option `--exec-prefix=PREFIX' to `configure', the package uses
  138. +PREFIX as the prefix for installing programs and libraries.
  139. +Documentation and other data files still use the regular prefix.
  140. In addition, if you use an unusual directory layout you can give
  141. -options like `--bindir=PATH' to specify different values for particular
  142. +options like `--bindir=DIR' to specify different values for particular
  143. kinds of files. Run `configure --help' for a list of the directories
  144. you can set and what kinds of files go in them.
  145. @@ -156,6 +152,28 @@ find the X include and library files aut
  146. you can use the `configure' options `--x-includes=DIR' and
  147. `--x-libraries=DIR' to specify their locations.
  148. +Particular systems
  149. +==================
  150. +
  151. + On HP-UX, the default C compiler is not ANSI C compatible. If GNU
  152. +CC is not installed, it is recommended to use the following options in
  153. +order to use an ANSI C compiler:
  154. +
  155. + ./configure CC="cc -Ae"
  156. +
  157. +and if that doesn't work, install pre-built binaries of GCC for HP-UX.
  158. +
  159. + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
  160. +parse its `<wchar.h>' header file. The option `-nodtk' can be used as
  161. +a workaround. If GNU CC is not installed, it is therefore recommended
  162. +to try
  163. +
  164. + ./configure CC="cc"
  165. +
  166. +and if that doesn't work, try
  167. +
  168. + ./configure CC="cc -nodtk"
  169. +
  170. Specifying the System Type
  171. ==========================
  172. @@ -178,7 +196,7 @@ where SYSTEM can have one of these forms
  173. need to know the machine type.
  174. If you are _building_ compiler tools for cross-compiling, you should
  175. -use the `--target=TYPE' option to select the type of system they will
  176. +use the option `--target=TYPE' to select the type of system they will
  177. produce code for.
  178. If you want to _use_ a cross compiler, that generates code for a
  179. @@ -208,9 +226,14 @@ them in the `configure' command line, us
  180. ./configure CC=/usr/local2/bin/gcc
  181. -will cause the specified gcc to be used as the C compiler (unless it is
  182. +causes the specified `gcc' to be used as the C compiler (unless it is
  183. overridden in the site shell script).
  184. +Unfortunately, this technique does not work for `CONFIG_SHELL' due to
  185. +an Autoconf bug. Until the bug is fixed you can use this workaround:
  186. +
  187. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
  188. +
  189. `configure' Invocation
  190. ======================
  191. @@ -219,7 +242,14 @@ operates.
  192. `--help'
  193. `-h'
  194. - Print a summary of the options to `configure', and exit.
  195. + Print a summary of all of the options to `configure', and exit.
  196. +
  197. +`--help=short'
  198. +`--help=recursive'
  199. + Print a summary of the options unique to this package's
  200. + `configure', and exit. The `short' variant lists options used
  201. + only in the top level, while the `recursive' variant lists options
  202. + also present in any nested packages.
  203. `--version'
  204. `-V'
  205. @@ -246,6 +276,16 @@ operates.
  206. Look for the package's source code in directory DIR. Usually
  207. `configure' can determine that directory automatically.
  208. +`--prefix=DIR'
  209. + Use DIR as the installation prefix. *Note Installation Names::
  210. + for more details, including other options available for fine-tuning
  211. + the installation locations.
  212. +
  213. +`--no-create'
  214. +`-n'
  215. + Run the configure checks, but stop before creating any output
  216. + files.
  217. +
  218. `configure' also accepts some other, not widely useful, options. Run
  219. `configure --help' for more details.