From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs from a new MinGW environment Date: Wed, 18 Sep 2013 10:46:29 +0300 Message-ID: <83r4cmo9m2.fsf@gnu.org> References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> <83hadmqvql.fsf@gnu.org> <83txhkpszv.fsf@gnu.org> <83pps8pnc9.fsf@gnu.org> <83ob7splia.fsf@gnu.org> <83k3ifq5o5.fsf@gnu.org> <83d2o7q28r.fsf@gnu.org> <8338p3pded.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379490402 7869 80.91.229.3 (18 Sep 2013 07:46:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 07:46:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 18 09:46:44 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMCTD-0001oG-Qi for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2013 09:46:44 +0200 Original-Received: from localhost ([::1]:44905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMCTD-0007yV-GF for ged-emacs-devel@m.gmane.org; Wed, 18 Sep 2013 03:46:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMCT6-0007vJ-5i for emacs-devel@gnu.org; Wed, 18 Sep 2013 03:46:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMCT1-0002vb-Cw for emacs-devel@gnu.org; Wed, 18 Sep 2013 03:46:36 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMCT1-0002vU-4c for emacs-devel@gnu.org; Wed, 18 Sep 2013 03:46:31 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MTB009009EKZC00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 18 Sep 2013 10:46:29 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTB009MN9LGTAB0@a-mtaout23.012.net.il>; Wed, 18 Sep 2013 10:46:29 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163421 Archived-At: > Date: Tue, 17 Sep 2013 22:29:43 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > > I don't understand where did the > > C:/msys/home/d.moncayo.melgar/emacs/emacs.git/ directory come from? > > Does directory by such name indeed exist on your disk, and Windows > > (not MSYS) can find it? Did you try this from a directory different > > from where you made your previous trials? > > That directory is simply the root of my local Emacs source code tree. > I guess that what confused you is the "d.moncayo.melgar" part, which > was "dani" in previous messages. Well, the difference is due that one > is the desktop I use at work, and the other is my personal laptop. Please make a point of telling this in the future. I have no way of knowing when you make such changes, and they add more confusion to this already complicated issue. > > If the directory exists, I don't understand the reason for these > > failures: > > > > /bin/makeinfo --force --enable-encoding -I C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/../emacs -I C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref --no-split -o C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/../../info/elisp.info C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/elisp.texi > > C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/elisp.texi:58: @include `emacsver.texi': No such file or directory. > > > > Is this some problem with the MSYS port of makeinfo, perhaps? > > I've always used the makeinfo that comes with MSYS, yes. But that > version have always worked fine for me. This problem appears just > when I try your proposed change in "configure.ac". If you invoke the above command from the MSYS Bash prompt, does it also fail in the same way? > I've tried it again: autogen.sh + msysconfig.sh + "make bootstrap", > with this single change in my Emacs tree: > > diff --git a/configure.ac b/configure.ac > index 86a5f30..cb8f6d6 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -443,6 +443,8 @@ case "${srcdir}" in > * ) srcdir=`(cd "$srcdir"; pwd)` ;; > esac > > +test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W)` > + > ### Canonicalize the configuration name. > > AC_CANONICAL_HOST > > The result in my laptop seems to be the same than in my office > desktop: autogen ok, configure ok, but bootstrap failure (new logfile > attached). What about this variant: test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed -e 's,^\([A-Za-z]\):,/\1,')` It should produce srcdir in the /d/foo/bar format. > Perhaps you could try this yourself. Sorry, I don't have time for this. If the above still does not work, then for now, building under the MSYS root will be unsupported, until someone figures a way of making it work and submits the necessary patches.