On Tue, 26 Jun 2012, Nix wrote:
On 26 Jun 2012, Carlos O'Donell told this:
We need to decide if we want to fix install_root for all the
users that are already expecting it to work.
Given the likely triviality of the fix, is it really worth agonizing
over it? I mean, it's no more than this, isn't it?
diff --git a/config.make.in b/config.make.in
index 65410ab..da8fcbd 100644
--- a/config.make.in
+++ b/config.make.in
@@ -5,7 +5,7 @@ version = @VERSION@
release = @RELEASE@
# Installation prefixes.
-install_root = $(DESTDIR)
+install_root ?= $(DESTDIR)
I'm puzzled by the reported failure of "install_root" to do what it's
supposed to. I've been using that formulation for years, to install new
builds of glibc into /tmp/glibc-N.M from where I make a tarball, which I
subsequently untar into the system location using a bootable CD
(SystemRescueCd). This worked fine for me with glibc 2.15. I use the
invocation, for example,
make install_root=/tmp/glibc-2.15 install
and nothing spills into system locations. I don't mind using DESTDIR
instead; I just don't understand the complaint.