GNU bug report logs - #16772
Failure in "make install" on MS-Windows

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Sun, 16 Feb 2014 21:42:02 UTC

Severity: normal

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #75 received at 16772 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 16772 <at> debbugs.gnu.org, lekktu <at> gmail.com
Subject: Re: bug#16772: Failure in "make install" on MS-Windows
Date: Mon, 17 Feb 2014 18:44:33 +0200
> Date: Mon, 17 Feb 2014 17:16:06 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Cc: Juanma Barranquero <lekktu <at> gmail.com>, 16772 <at> debbugs.gnu.org
> 
> >> > Sorry, I don't understand: did you specify DESTDIR, or didn't you?  If
> >> > you did, please show the full "make install" command line you used.
> >>
> >> As I said:
> >>
> >> >> > I've tried the patch:  I've gone to the build directory and done "make
> >> >> > install prefix='../myinstalldir' GZIP_INFO= GZIP_PROG=".  The process
> >> >> > has ended up this way:
> >
> > There's no DESTDIR anywhere in sight here.
> 
> There isn't, no.  (and?)

And you said its value was ../myinstalldir, which cannot possibly
happen unless you set this variable directly from the command line.

> >> AFAIK, this is the way to specify the destination directory in "make
> >> install" (using the "prefix" parameter).
> >
> > You explicitly mentioned DESTDIR, not "destination directory":
> 
> Because DESTDIR is the name of a make variable, which is employed in
> the sentence which failed in my original bug report (file
> "nt/Makefile.in", target "install"):
>   $(INSTALL_DATA) README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
> 
> When I try to show the value of that variable, at that point, it seems
> to be empty (which seems like a bug).

It's not a bug: when this variable is not set explicitly on the Make
command line, it should indeed be empty.

> >> The problem, I think, is that $(DESTDIR) contains literally the prefix
> >> I gave ("../myinstalldir"), which is a relative path (to the "current"
> >> directory - at the moment of the "make install"), but since we are now
> >> in "nt/Makefile", the current working directory is "<build-dir>/nt",
> >> and therefore, relative references like this one don't refer to the
> >> intended location.
> >
> > So I thought you were using DESTDIR on the Make command line.  It now
> > turns out you didn't use DESTDIR at all.
> 
> No, I didn't.  Sorry if I said something that confused you, but AFAIK,
> I don't have to set that variable anywere.

If DESTDIR is not empty, it means you have set it.

> I'd suggest you to try to reproduce this yourself.  But failing that,
> I'll do it later today...

Better try the patch suggested by Juanma.




This bug report was last modified 11 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.