From a82a3db95077c8343b988a6f1b03adea3d40f6d4 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Fri, 12 Jun 2015 13:15:57 -0600 Subject: Attempting to install glibc configured with --prefix=/usr into a non-standard directory specified by the prefix make variable fails with an error. Since this is an unsupported use case, this change makes make install fail early and with a descriptive error message when either the prefix or the exec_prefix make variable is overridden on the command line. --- manual/install.texi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'manual') diff --git a/manual/install.texi b/manual/install.texi index 42ee467463..63c41b0b8d 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -333,12 +333,14 @@ headers, but nothing else. If you do this, you will need to restore any headers from libraries other than @theglibc{} yourself after installing the library. -You can install @theglibc{} somewhere other than where you configured it to go -by setting the @code{install_root} variable on the command line for -@samp{make install}. The value of this variable is prepended to all the -paths for installation. This is useful when setting up a chroot -environment or preparing a binary distribution. The directory should be -specified with an absolute file name. +You can install @theglibc{} somewhere other than where you configured +it to go by setting the @code{DESTDIR} GNU standard make variable on +the command line for @samp{make install}. The value of this variable +is prepended to all the paths for installation. This is useful when +setting up a chroot environment or preparing a binary distribution. +The directory should be specified with an absolute file name. Installing +with the @code{prefix} and @code{exec_prefix} GNU standard make variables +set is not supported. @Theglibc{} includes a daemon called @code{nscd}, which you may or may not want to run. @code{nscd} caches name service lookups; it -- cgit v1.2.3