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. --- INSTALL | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 8e13f2cef7..d55de5dd47 100644 --- a/INSTALL +++ b/INSTALL @@ -295,11 +295,13 @@ headers from libraries other than the GNU C Library yourself after installing the library. You can install the GNU C Library somewhere other than where you -configured it to go by setting the 'install_root' variable on the -command line for 'make install'. The value of this variable is +configured it to go by setting the 'DESTDIR' GNU standard make variable +on the command line for '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. +directory should be specified with an absolute file name. Installing +with the 'prefix' and 'exec_prefix' GNU standard make variables set is +not supported. The GNU C Library includes a daemon called 'nscd', which you may or may not want to run. 'nscd' caches name service lookups; it can -- cgit v1.2.3