unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Building Emacs from a new MinGW environment
Date: Wed, 18 Sep 2013 11:32:09 +0200	[thread overview]
Message-ID: <CAH8Pv0huU+ftk3UHvEVp+rKAXFooMWKS7=Q9MMc_gjON0+AaOg@mail.gmail.com> (raw)
In-Reply-To: <83r4cmo9m2.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 3071 bytes --]

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

I'm sorry.  I thought the change in the user name will not confuse you.

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

Yes, it fails the same way.  I'm attaching the output I get from that
command, when invoked directly from bash.

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

It didn't produce that format, because the configure script generated
by "autogen.sh" a slightly different version of that line: the square
brackets in "[A-Za-z]" were removed.

I managed to get the intended conversion with this line in "configure.ac":

  test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W | sed
-e 's,^\([[A-Za-z]]\):,/\1,')`

With that change, now the only problems remaining are the crashes I
get much later in the bootstraping, when Emacs compiles certain Elisp
files.

I already saw these severals days ago when I invoked msysconfig like this:
  (environment vars)
/c/msys/home/dani/emacs/emacs.git/nt/msysconfig.sh --enable-checking

Perhaps these crashes are due to a different problem.

I'm attaching:
* The "config.log" file.
* The summary of the configure script.
* The output of "make bootstrap".

-- 
Dani Moncayo

[-- Attachment #2: attachments.zip --]
[-- Type: application/zip, Size: 79745 bytes --]

  reply	other threads:[~2013-09-18  9:32 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 18:38 Building Emacs from a new MinGW environment Dani Moncayo
2013-08-26 19:38 ` Eli Zaretskii
2013-08-26 20:08   ` Dani Moncayo
2013-09-13 14:31     ` Dani Moncayo
2013-09-14  9:32       ` Eli Zaretskii
2013-09-14  9:41         ` Dani Moncayo
2013-09-14 10:07           ` Eli Zaretskii
2013-09-14 14:25         ` Dani Moncayo
2013-09-14 14:50           ` Eli Zaretskii
2013-09-14 15:42             ` Dani Moncayo
2013-09-14 16:10               ` Eli Zaretskii
2013-09-14 16:34                 ` Dani Moncayo
2013-09-14 17:18                   ` Eli Zaretskii
2013-09-14 19:57                     ` Dani Moncayo
2013-09-14 20:56                       ` Eli Zaretskii
2013-09-14 21:19                         ` Dani Moncayo
2013-09-14 22:30                           ` Dani Moncayo
2013-09-15  9:35                             ` Eli Zaretskii
2013-09-15  9:28                           ` Eli Zaretskii
2013-09-16 16:48                             ` Dani Moncayo
2013-09-16 17:37                               ` Eli Zaretskii
2013-09-16 19:25                                 ` Dani Moncayo
2013-09-16 19:40                                   ` Eli Zaretskii
2013-09-16 19:44                                     ` Dani Moncayo
2013-09-16 20:19                                       ` Eli Zaretskii
2013-09-17  7:16                                         ` Eli Zaretskii
2013-09-17  8:17                                           ` Dani Moncayo
2013-09-17  8:30                                             ` Eli Zaretskii
2013-09-17 16:09                                               ` Dani Moncayo
2013-09-17 16:17                                                 ` Glenn Morris
2013-09-17 17:27                                                 ` Eli Zaretskii
2013-09-17 20:29                                                   ` Dani Moncayo
2013-09-18  7:46                                                     ` Eli Zaretskii
2013-09-18  9:32                                                       ` Dani Moncayo [this message]
2013-09-18 10:00                                                         ` Eli Zaretskii
2013-09-18 10:38                                                           ` Dani Moncayo
2013-09-18 11:21                                                             ` Eli Zaretskii
2013-09-18 12:39                                                               ` Dani Moncayo
2013-09-18 12:31                                                             ` Dani Moncayo
2013-09-18 13:14                                                               ` Eli Zaretskii
2013-09-18 16:51                                                                 ` Dani Moncayo
2013-09-18 19:20                                                                   ` Eli Zaretskii
2013-09-19 22:56                                                                     ` Dani Moncayo
2013-09-20  8:14                                                                       ` Eli Zaretskii
2013-09-20  9:29                                                                         ` Andy Moreton
2013-09-20 11:08                                                                           ` Dani Moncayo
2013-09-20 11:21                                                                             ` Eli Zaretskii
2013-09-20 12:22                                                                               ` Dani Moncayo
2013-09-20 12:30                                                                                 ` Dani Moncayo
2013-09-20 13:16                                                                                   ` Eli Zaretskii
2013-09-20 13:12                                                                                 ` Eli Zaretskii
2013-09-20 14:12                                                                             ` Eli Zaretskii
2013-09-20 15:05                                                                               ` Dani Moncayo
2013-09-18 10:46                                                           ` Andy Moreton
2013-09-18 11:24                                                             ` Eli Zaretskii
2013-09-18 12:44                                                               ` Sean Sieger
2013-09-18 13:16                                                                 ` Eli Zaretskii
2013-09-18 13:19                                                                   ` Sean Sieger
2013-09-18 14:33                                                                     ` Eli Zaretskii
2013-09-18 13:21                                                               ` Andy Moreton
2013-09-18 14:45                                                                 ` Eli Zaretskii
2013-09-18 20:51                                                                   ` Andy Moreton
2013-09-19  8:45                                                         ` Eli Zaretskii
2013-09-19  8:56                                                           ` Dani Moncayo
2013-09-19  9:38                                                             ` Eli Zaretskii
2013-09-19 10:04                                                               ` Dani Moncayo
2013-09-19 10:11                                                                 ` Eli Zaretskii
2013-11-09 14:47                                                                   ` Dani Moncayo
2013-11-10 16:32                                                                     ` Dani Moncayo
2013-11-12  2:56                                                                       ` Glenn Morris

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='CAH8Pv0huU+ftk3UHvEVp+rKAXFooMWKS7=Q9MMc_gjON0+AaOg@mail.gmail.com' \
    --to=dmoncayo@gmail.com \
    --cc=eliz@gnu.org \
    --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).