From: Dani Moncayo <dmoncayo@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 16772@debbugs.gnu.org
Subject: bug#16772: Failure in "make install" on MS-Windows
Date: Mon, 17 Feb 2014 12:42:52 +0100 [thread overview]
Message-ID: <CAH8Pv0ghuG-7CL+XfwUTS7G3i-Snc+hE8YcyNi7i9cSZphpAUQ@mail.gmail.com> (raw)
In-Reply-To: <CAAeL0STyQ1myS0rcgZjnr52W1Oy01aS68RSRKGOKjFG1sDAkmw@mail.gmail.com>
> Dani, could you please try this patch?
>
> === modified file 'nt/Makefile.in'
> --- nt/Makefile.in 2014-02-13 03:19:57 +0000
> +++ nt/Makefile.in 2014-02-17 02:37:26 +0000
> @@ -172,5 +172,5 @@
> $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file}
> "$(DESTDIR)${bindir}"/`echo $${file} | sed -e 's/${EXEEXT}$$//' -e
> '$(TRANSFORM)'`${EXEEXT} ; \
> done
> - $(INSTALL_DATA) README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
> + $(INSTALL_DATA) $(srcdir)/README.W32 "$(DESTDIR)${datadir}/emacs/$(version)"
>
> uninstall:
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:
Installing utilities for users to run.
umask 022; /bin/mkdir -p "../myinstalldir/bin"
for file in runemacs.exe addpm.exe ; do \
/bin/install -c ${file} "../myinstalldir/bin"/`echo ${file} | sed
-e 's/.exe$//' -e 's,x,x,'`.exe ; \
done
/bin/install -c -m 644 /C/msys/home/dani/emacs/repo/nt/README.W32
"../myinstalldir/share/emacs/24.3.50"
/bin/install: cannot create regular file
`../myinstalldir/share/emacs/24.3.50': No such file or directory
Makefile:168: recipe for target `install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/home/dani/emacs/build/nt'
Makefile:509: recipe for target `install-nt' failed
make: *** [install-nt] Error 2
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.
If I specify an absolute path as prefix in "make install", the the
process seems to complete successfully.
--
Dani Moncayo
next prev parent reply other threads:[~2014-02-17 11:42 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-16 21:23 Failure in "make install" on MS-Windows Dani Moncayo
2014-02-16 21:40 ` bug#16772: " Juanma Barranquero
2014-02-17 2:20 ` Glenn Morris
2014-02-17 2:41 ` Juanma Barranquero
2014-02-17 11:42 ` Dani Moncayo [this message]
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
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
2014-02-17 4:45 ` Eli Zaretskii
2014-02-17 11:42 ` Dani Moncayo
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8Pv0ghuG-7CL+XfwUTS7G3i-Snc+hE8YcyNi7i9cSZphpAUQ@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=16772@debbugs.gnu.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.