* ntemacs installation bug fix
@ 2006-04-13 10:09 Wu Weiwei
2006-04-13 16:05 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Wu Weiwei @ 2006-04-13 10:09 UTC (permalink / raw
[-- Attachment #1: Type: text/plain, Size: 435 bytes --]
hello, all
I am using the most recent CVS code.
When I try to run "mingw32-make install", it complained "F:emacs-bin/leim" not found and "F:\emacs-bin" was my emacs install directory. It also happened in emacs/nt directory.
So I made a patch to fix this problem. (Just add some quote marks)
Only emacs/leim/makefile.w32-in and emacs/nt/makefile.w32-in was modified.
Best Regards
Wu Weiwei
2006-04-13
[-- Attachment #2: emacs.patch --]
[-- Type: application/octet-stream, Size: 2134 bytes --]
Index: leim/makefile.w32-in
===================================================================
RCS file: /sources/emacs/emacs/leim/makefile.w32-in,v
retrieving revision 1.31
diff -u -r1.31 makefile.w32-in
--- leim/makefile.w32-in 19 Dec 2005 06:02:52 -0000 1.31
+++ leim/makefile.w32-in 13 Apr 2006 08:27:01 -0000
@@ -193,11 +193,11 @@
- mkdir "$(INSTALLDIR)"
- $(DEL) same-dir.tst
- $(DEL) $(INSTALL_DIR)/same-dir.tst
- echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
- $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF)
- $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF)
- $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF)
- - $(DEL) $(INSTALL_DIR)/same-dir.tst
+ echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
+ $(IFNOTSAMEDIR) $(CP) leim-list.el "$(INSTALLDIR)" $(ENDIF)
+ $(IFNOTSAMEDIR) $(CP_DIR) quail "$(INSTALLDIR)" $(ENDIF)
+ $(IFNOTSAMEDIR) $(CP_DIR) ja-dic "$(INSTALLDIR)" $(ENDIF)
+ - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
clean mostlyclean:
- $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
Index: nt/makefile.w32-in
===================================================================
RCS file: /sources/emacs/emacs/nt/makefile.w32-in,v
retrieving revision 1.29
diff -u -r1.29 makefile.w32-in
--- nt/makefile.w32-in 12 Mar 2006 17:20:13 -0000 1.29
+++ nt/makefile.w32-in 13 Apr 2006 08:27:18 -0000
@@ -190,12 +190,12 @@
- mkdir "$(INSTALL_DIR)/data"
- mkdir "$(INSTALL_DIR)/site-lisp"
- mkdir "$(INSTALL_DIR)/etc/icons"
- $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF)
- $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF)
- - $(CP_DIR) icons $(INSTALL_DIR)/etc
- $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR) $(ENDIF)
+ $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el "$(INSTALL_DIR)/site-lisp" $(ENDIF)
+ $(IFNOTSAMEDIR) $(CP_DIR) ../etc "$(INSTALL_DIR)" $(ENDIF)
+ - $(CP_DIR) icons "$(INSTALL_DIR)/etc"
+ $(IFNOTSAMEDIR) $(CP_DIR) ../info "$(INSTALL_DIR)" $(ENDIF)
- $(DEL) ../same-dir.tst
- - $(DEL) $(INSTALL_DIR)/same-dir.tst
+ - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
install-other-dirs-nmake:
cd ..\lib-src
[-- Attachment #3: Type: text/plain, Size: 149 bytes --]
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntemacs installation bug fix
2006-04-13 10:09 ntemacs installation bug fix Wu Weiwei
@ 2006-04-13 16:05 ` Eli Zaretskii
2006-04-13 16:49 ` Wu Weiwei
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2006-04-13 16:05 UTC (permalink / raw
Cc: bug-gnu-emacs
> Date: Thu, 13 Apr 2006 18:09:36 +0800
> From: "Wu Weiwei" <goodwu@gmail.com>
>
> I am using the most recent CVS code.
Thanks. But please in the future report problems with the CVS code on
emacs-devel@gnu.org or emacs-pretest-bug@gnu.org. This list is for
reporting bugs in released versions.
> When I try to run "mingw32-make install", it complained "F:emacs-bin/leim" not found and "F:\emacs-bin" was my emacs install directory. It also happened in emacs/nt directory.
What shell are you using? Is it the MSYS shell, by chance?
I'm asking because I'm running "make install" every day, using the
MinGW port of Make, and I never saw such a problem.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntemacs installation bug fix
2006-04-13 16:05 ` Eli Zaretskii
@ 2006-04-13 16:49 ` Wu Weiwei
2006-04-13 17:30 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Wu Weiwei @ 2006-04-13 16:49 UTC (permalink / raw
Cc: bug-gnu-emacs@gnu.org
>> Date: Thu, 13 Apr 2006 18:09:36 +0800
>> From: "Wu Weiwei" <goodwu@gmail.com>
>>
>> I am using the most recent CVS code.
>
>Thanks. But please in the future report problems with the CVS code on
>emacs-devel@gnu.org or emacs-pretest-bug@gnu.org. This list is for
>reporting bugs in released versions.
I'm sorry.
>
>> When I try to run "mingw32-make install", it complained "F:emacs-bin/leim" not found and "F:\emacs-bin" was my emacs install directory. It also happened in emacs/nt directory.
>
>What shell are you using? Is it the MSYS shell, by chance?
I'm just using cmd.exe, not MSYS.
>
>I'm asking because I'm running "make install" every day, using the
>MinGW port of Make, and I never saw such a problem.
Yes, I also have run "make install" for 2 years and never had such problem. But I have changed my notebook recently and thus have setup a new build environment.
The new environment is setup using MinGW-5.0.2.exe from www.mingw.org. My OS is XP Home edition.
Thanks for your reply.
Best Regards
Wu Weiwei
2006-04-14
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntemacs installation bug fix
2006-04-13 16:49 ` Wu Weiwei
@ 2006-04-13 17:30 ` Eli Zaretskii
2006-04-13 17:37 ` Wu Weiwei
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2006-04-13 17:30 UTC (permalink / raw
Cc: bug-gnu-emacs
> Date: Fri, 14 Apr 2006 00:49:55 +0800
> From: "Wu Weiwei" <goodwu@gmail.com>
> Cc: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
>
> Yes, I also have run "make install" for 2 years and never had such problem. But I have changed my notebook recently and thus have setup a new build environment.
> The new environment is setup using MinGW-5.0.2.exe from www.mingw.org. My OS is XP Home edition.
What do you see if you type this at CMD's prompt (i.e. in the Command
Prompt window):
mingw32-make --version
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Re: ntemacs installation bug fix
2006-04-13 17:30 ` Eli Zaretskii
@ 2006-04-13 17:37 ` Wu Weiwei
2006-04-14 7:27 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Wu Weiwei @ 2006-04-13 17:37 UTC (permalink / raw
Cc: bug-gnu-emacs@gnu.org
>> Date: Fri, 14 Apr 2006 00:49:55 +0800
>> From: "Wu Weiwei" <goodwu@gmail.com>
>> Cc: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
>>
>> Yes, I also have run "make install" for 2 years and never had such problem. But I have changed my notebook recently and thus have setup a new build environment.
>> The new environment is setup using MinGW-5.0.2.exe from www.mingw.org. My OS is XP Home edition.
>
>What do you see if you type this at CMD's prompt (i.e. in the Command
>Prompt window):
>
> mingw32-make --version
---------------------------------------------------------------------------
F:\emacs\nt>mingw32-make --version
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
---------------------------------------------------------------------------
Best Regards
Wu Weiwei
2006-04-14
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntemacs installation bug fix
2006-04-13 17:37 ` Wu Weiwei
@ 2006-04-14 7:27 ` Eli Zaretskii
2006-04-14 10:47 ` Wu Weiwei
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2006-04-14 7:27 UTC (permalink / raw
Cc: bug-gnu-emacs
> Date: Fri, 14 Apr 2006 01:37:53 +0800
> From: "Wu Weiwei" <goodwu@gmail.com>
> Cc: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
>
> >> The new environment is setup using MinGW-5.0.2.exe from www.mingw.org. My OS is XP Home edition.
> >
> >What do you see if you type this at CMD's prompt (i.e. in the Command
> >Prompt window):
> >
> > mingw32-make --version
>
> ---------------------------------------------------------------------------
> F:\emacs\nt>mingw32-make --version
> GNU Make 3.80
Strange, I use the same.
You see, the problem is the version of Make I have (both 3.80 and the
new 3.81) produce the value of $(CURDIR) with forward slashes. Try
this and tell me what it prints:
mingw32-make -f -
all:
echo $(CURDIR)
^Z
(on the last line press Ctrl-Z). On my system, it prints the current
directory with forward slashes.
In addition, even if $(CURDIR) is produced with backslashes, the
Windows port of Make should support file names with backslashes in
rule's commands.
Anyway, isn't MinGW-5.0.2 an unstable version listed under "Proposed"?
Perhaps there's some bug (or a new misfeature) in the runtime included
in that version of MinGW?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ntemacs installation bug fix
2006-04-14 7:27 ` Eli Zaretskii
@ 2006-04-14 10:47 ` Wu Weiwei
0 siblings, 0 replies; 7+ messages in thread
From: Wu Weiwei @ 2006-04-14 10:47 UTC (permalink / raw
Cc: bug-gnu-emacs@gnu.org
>> Date: Fri, 14 Apr 2006 01:37:53 +0800
>> From: "Wu Weiwei" <goodwu@gmail.com>
>> Cc: "bug-gnu-emacs@gnu.org" <bug-gnu-emacs@gnu.org>
>>
>> >> The new environment is setup using MinGW-5.0.2.exe from www.mingw.org. My OS is XP Home edition.
>> >
>> >What do you see if you type this at CMD's prompt (i.e. in the Command
>> >Prompt window):
>> >
>> > mingw32-make --version
>>
>> ---------------------------------------------------------------------------
>> F:\emacs\nt>mingw32-make --version
>> GNU Make 3.80
>
>Strange, I use the same.
>
>You see, the problem is the version of Make I have (both 3.80 and the
>new 3.81) produce the value of $(CURDIR) with forward slashes. Try
>this and tell me what it prints:
>
> mingw32-make -f -
> all:
> echo $(CURDIR)
> ^Z
>
>(on the last line press Ctrl-Z). On my system, it prints the current
>directory with forward slashes.
>
>In addition, even if $(CURDIR) is produced with backslashes, the
>Windows port of Make should support file names with backslashes in
>rule's commands.
>
>Anyway, isn't MinGW-5.0.2 an unstable version listed under "Proposed"?
>Perhaps there's some bug (or a new misfeature) in the runtime included
>in that version of MinGW?
-----------------------------------
F:\emacs\nt>mingw32-make -f -
all:
echo $(CURDIR)
^Z
echo F:/emacs/nt
F:/emacs/nt
-----------------------------------
Maybe this is a new misfeature.
I was using "configure --prefix F:\emacs-bin", now I change it into "configure --prefix F:/emacs-bin" and everything is OK.
Strange, I have used the original command for several mounths on another machine.
I'll try to compile emacs using a stable version of mingw later to confirm if it is a misfeature.
Thanks for your help.
Best Regards
Wu Weiwei
2006-04-14
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-04-14 10:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-13 10:09 ntemacs installation bug fix Wu Weiwei
2006-04-13 16:05 ` Eli Zaretskii
2006-04-13 16:49 ` Wu Weiwei
2006-04-13 17:30 ` Eli Zaretskii
2006-04-13 17:37 ` Wu Weiwei
2006-04-14 7:27 ` Eli Zaretskii
2006-04-14 10:47 ` Wu Weiwei
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).