[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16772: Failure in "make install" on MS-Windows
From: |
Eli Zaretskii |
Subject: |
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@gmail.com>
> Cc: Juanma Barranquero <lekktu@gmail.com>, 16772@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.
- bug#16772: Failure in "make install" on MS-Windows, (continued)
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Juanma Barranquero, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Juanma Barranquero, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Eli Zaretskii, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Juanma Barranquero, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Eli Zaretskii, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Eli Zaretskii, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows,
Eli Zaretskii <=
- bug#16772: Failure in "make install" on MS-Windows, Glenn Morris, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Juanma Barranquero, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Dani Moncayo, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Juanma Barranquero, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Glenn Morris, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Eli Zaretskii, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Eli Zaretskii, 2014/02/17
- bug#16772: Failure in "make install" on MS-Windows, Glenn Morris, 2014/02/17