X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Finstall.texi;h=d397b8a89b4cb3f385c702d69a8dde7072533762;hb=b3a93d27e57e0494d3140e6c62c9e621e0ea90c8;hp=6dd4a571f69e3a7a07a2377414f07343fba801b8;hpb=ae0044cde430d5feeba0c9c53a5c0fe1ba636080;p=gnulib.git diff --git a/doc/install.texi b/doc/install.texi index 6dd4a571f..d397b8a89 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -2,12 +2,11 @@ @c the INSTALL file. @ifclear autoconf -@firstparagraphindent insert @unnumbered Installation Instructions -Copyright @copyright{} 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, -2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +Copyright @copyright{} 1994-1996, 1999-2002, 2004-2011 Free Software +Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice @@ -28,9 +27,9 @@ Some packages provide this @file{INSTALL} file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. @end ifclear -More recommendations for @acronym{GNU} packages can be found in +More recommendations for GNU packages can be found in @ref{Makefile Conventions, , Makefile Conventions, standards, -@acronym{GNU} Coding Standards}. +GNU Coding Standards}. The @command{configure} shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -103,7 +102,7 @@ distribution. Often, you can also type @samp{make uninstall} to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the -@acronym{GNU} Coding Standards. +GNU Coding Standards. @item Some packages, particularly those that use Automake, provide @samp{make @@ -135,14 +134,14 @@ Here is an example: You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their -own directory. To do this, you can use @acronym{GNU} @command{make}. +own directory. To do this, you can use GNU @command{make}. @command{cd} to the directory where you want the object files and executables to go and run the @command{configure} script. @command{configure} automatically checks for the source code in the directory that @command{configure} is in and in @file{..}. This is known as a @dfn{VPATH} build. -With a non-@acronym{GNU} @command{make}, +With a non-GNU @command{make}, it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use @samp{make distclean} @@ -204,16 +203,16 @@ directory configuration variables that were expressed in terms of @command{configure}, but not in terms of @samp{$@{prefix@}}, must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable -overrides for each directory variable is required by the @acronym{GNU} +overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly -noticeable in packages that use @acronym{GNU} Libtool. +noticeable in packages that use GNU Libtool. The second method involves providing the @samp{DESTDIR} variable. For example, @samp{make install DESTDIR=/alternate/directory} will prepend @samp{/alternate/directory} before all installation names. The approach -of @samp{DESTDIR} overrides is not required by the @acronym{GNU} Coding +of @samp{DESTDIR} overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms @@ -262,6 +261,11 @@ use an ANSI C compiler: @noindent and if that doesn't work, install pre-built binaries of GCC for HP-UX. +HP-UX @command{make} updates targets which have the same time stamps as +their prerequisites, which makes it generally unusable when shipped +generated files such as @command{configure} are involved. Use GNU +@command{make} instead. + On OSF/1 a.k.a.@: Tru64, some versions of the default C compiler cannot parse its @code{} header file. The option @option{-nodtk} can be used as a workaround. If GNU CC is not installed, it is therefore