unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: dhruva <dhruvakm@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: make install on existing emacs fails
Date: Thu, 19 Jul 2007 10:50:03 +0530	[thread overview]
Message-ID: <e3f230850707182220i2d1420a8ra4228b2932ea3b33@mail.gmail.com> (raw)

Hi,
 I am building CVS HEAD Emacs on WXP using MinGW. The "make install"
fails to install emacs on an existing installed folder.

------------ build o/p ------------
cp -f *.el "e:/GNU/emacs/lisp"
for %%f in (calc calendar emacs-lisp emulation erc eshell gnus
international language mail mh-e net play progmodes term textmodes url
obsolete) do mkdir "e:/GNU/emacs/lisp/%%f"
A subdirectory or file e:/GNU/emacs/lisp/calc already exists.
A subdirectory or file e:/GNU/emacs/lisp/calendar already exists.
A subdirectory or file e:/GNU/emacs/lisp/emacs-lisp already exists.
A subdirectory or file e:/GNU/emacs/lisp/emulation already exists.
[... snip...]
A subdirectory or file e:/GNU/emacs/lisp/obsolete already exists.
make[2]: *** [install-lisp-CMD] Error 1
make[2]: Leaving directory `E:/cache/build/emacs/lisp'
make[1]: *** [install] Error 2
make[1]: Leaving directory `E:/cache/build/emacs/lisp'
make: *** [install-other-dirs-gmake] Error 2
---------- build o/p ---------------

The following patch fixes this issue:

diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -434,7 +434,7 @@ install-lisp-SH:

 install-lisp-CMD:
        cp -f *.el "$(INSTALL_DIR)/lisp"
-       for %%f in ($(WINS)) do mkdir "$(INSTALL_DIR)/lisp/%%f"
+       for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f"
mkdir "$(INSTALL_DIR)/lisp/%%f"
        for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
        for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"


-dky
.
-- 
Dhruva Krishnamurthy
Contents reflect my personal views only!

                 reply	other threads:[~2007-07-19  5:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=e3f230850707182220i2d1420a8ra4228b2932ea3b33@mail.gmail.com \
    --to=dhruvakm@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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).