unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 16772@debbugs.gnu.org, lekktu@gmail.com
Subject: bug#16772: Failure in "make install" on MS-Windows
Date: Mon, 17 Feb 2014 18:44:33 +0200	[thread overview]
Message-ID: <83k3ct8z9q.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0iaWaXEwxUg-c-uB=rbzqHgvc16Dt-uU5qf_Y910kaUtQ@mail.gmail.com>

> 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.





  reply	other threads:[~2014-02-17 16:44 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAH8Pv0gUZKzBjPePfpoRhYLwABObwyM_trfdTS-zRvTM0nw9MQ@mail.gmail.com>
2014-02-16 21:40 ` bug#16772: Failure in "make install" on MS-Windows Juanma Barranquero
2014-02-17  2:20   ` Glenn Morris
2014-02-17  2:41     ` Juanma Barranquero
2014-02-17 11:42       ` Dani Moncayo
2014-02-17 12:38         ` Juanma Barranquero
2014-02-17 14:49           ` Eli Zaretskii
2014-02-17 14:54             ` Juanma Barranquero
2014-02-17 15:06               ` Dani Moncayo
2014-02-17 14:48         ` Eli Zaretskii
2014-02-17 15:06         ` Dani Moncayo
2014-02-17 15:18           ` Juanma Barranquero
2014-02-17 15:29             ` Dani Moncayo
2014-02-17 15:39               ` Juanma Barranquero
2014-02-17 15:58                 ` Eli Zaretskii
2014-02-17 16:06                   ` Juanma Barranquero
2014-02-17 15:31           ` Eli Zaretskii
2014-02-17 15:33             ` Dani Moncayo
2014-02-17 15:58               ` Eli Zaretskii
2014-02-17 16:16                 ` Dani Moncayo
2014-02-17 16:44                   ` Eli Zaretskii [this message]
2014-02-17 18:00         ` Glenn Morris
2014-02-17 18:57           ` Dani Moncayo
2014-02-17 19:01             ` Dani Moncayo
2014-02-17 19:05               ` Juanma Barranquero
2014-02-17 19:09                 ` Dani Moncayo
2014-02-17 21:21                   ` Juanma Barranquero
2014-02-17 19:06             ` Glenn Morris
2014-02-17 20:36               ` Eli Zaretskii
2014-02-17 18:58           ` Eli Zaretskii
2014-02-17 19:01             ` Glenn Morris
2014-02-17 19:13               ` Glenn Morris
2014-02-17  4:54     ` Eli Zaretskii
2014-02-17 11:42   ` Dani Moncayo
2014-02-17 12:32     ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k3ct8z9q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16772@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).