unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn
@ 2015-09-28 19:12 Keith David Bershatsky
  2015-09-29  5:32 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Keith David Bershatsky @ 2015-09-28 19:12 UTC (permalink / raw)
  To: 21582

I am learning how to build Emacs on WindowsXP and have encountered the following error when trying to build the most recent master branch / trunk:

The first problem I had was with `./autogen.sh`, which was fixed by running:

dos2unix configure.ac

Then, I configured with just the basic:

./configure --prefix=/c/docume~1/lawlist/desktop/trunk

Everything appeared to be going well and I though I was near the end of the `make` process, but then I received the following error:

***
Scanning ./url for finder
Scanning ./vc for finder
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lisp'
make info-real info-dir
make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs'
make -C doc/lispref info
make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
/bin/mkdir -p ../../info
GEN ../../info/elisp.info
' in @synindex.Uninown index `cp' and/or `fn
' in @synindex.Uninown index `vr' and/or `fn
' in @synindex.Uninown index `ky' and/or `fn
' in @synindex.Uninown index `pg' and/or `fn
make[2]: *** [../../info/elisp.info] Error 1
make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
make[1]: *** [lispref-info] Error 2
make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
make:  *** [info] Error 2

Any ideas on how to get passed this next hurdle would be greatly appreciated.

Thanks

Keith





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn
  2015-09-28 19:12 bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn Keith David Bershatsky
@ 2015-09-29  5:32 ` Eli Zaretskii
  2015-09-29  6:34 ` bug#21582: Reply to correspondence dated September 28, 2015 Keith David Bershatsky
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2015-09-29  5:32 UTC (permalink / raw)
  To: Keith David Bershatsky; +Cc: 21582

> Date: Mon, 28 Sep 2015 12:12:25 -0700
> From: Keith David Bershatsky <esq@lawlist.com>
> 
> I am learning how to build Emacs on WindowsXP and have encountered the following error when trying to build the most recent master branch / trunk:
> 
> The first problem I had was with `./autogen.sh`, which was fixed by running:
> 
> dos2unix configure.ac

Did you install Git for Windows with EOL conversion option set to
_anything_ but "checkout as-is, commit as-is"?  If so, please
reconfigure your Git to use that.  To that effect, please _remove_
from your .gitconfig files (there might be more than one) _any_
settings of the following variables:

  core.eol
  core.safecrlf
  core.autocrlf

Then remove your Emacs Git repository and re-clone it again.

The upshot of all that is to have the EOL format of each file in the
repository exactly as it is on a Unix system.  That is the only sane
way of using Git on Windows for a project that supports multiple
platforms and includes files with both Unix-style and DOS-style EOLs
in the repository.

> Then, I configured with just the basic:
> 
> ./configure --prefix=/c/docume~1/lawlist/desktop/trunk
> 
> Everything appeared to be going well and I though I was near the end of the `make` process, but then I received the following error:
> 
> ***
> Scanning ./url for finder
> Scanning ./vc for finder
> make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/lisp'
> make info-real info-dir
> make[1]: Entering directory `/c/docume~1/lawlist/desktop/emacs'
> make -C doc/lispref info
> make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
> /bin/mkdir -p ../../info
> GEN ../../info/elisp.info
> ' in @synindex.Uninown index `cp' and/or `fn
> ' in @synindex.Uninown index `vr' and/or `fn
> ' in @synindex.Uninown index `ky' and/or `fn
> ' in @synindex.Uninown index `pg' and/or `fn
> make[2]: *** [../../info/elisp.info] Error 1
> make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
> make[1]: *** [lispref-info] Error 2
> make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
> make:  *** [info] Error 2

I'm guessing this is the result of the same problem with EOL format:
the Texinfo source files in doc/lispref/*.texi have DOS CRLF EOL
format, but your 'makeinfo' utility is from MSYS and expects Unix
EOLs.  Note how the closing ' character is displayed at the beginning
of the line, instead of being after `fn -- that's because there's a CR
character after `fn.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21582: Reply to correspondence dated September 28, 2015.
  2015-09-28 19:12 bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn Keith David Bershatsky
  2015-09-29  5:32 ` Eli Zaretskii
@ 2015-09-29  6:34 ` Keith David Bershatsky
  2015-09-29  6:49   ` Eli Zaretskii
  2015-09-29  7:23 ` bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn martin rudalics
  2015-09-29 16:19 ` Keith David Bershatsky
  3 siblings, 1 reply; 6+ messages in thread
From: Keith David Bershatsky @ 2015-09-29  6:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 21582

:)  GNU Emacs 25.0.50.2 (i686-pc-mingw32) of 2014-09-28

Yes, reconfiguring `git` as you suggested did indeed fix the problem.  I was able to build through completion.  There were many entries towards the end of the build:

find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory
find: `chown': No such file or directory

However, the build completed without a problem and the Emacs binary appears to be working properly.

Thank you very much,

Keith





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21582: Reply to correspondence dated September 28, 2015.
  2015-09-29  6:34 ` bug#21582: Reply to correspondence dated September 28, 2015 Keith David Bershatsky
@ 2015-09-29  6:49   ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2015-09-29  6:49 UTC (permalink / raw)
  To: Keith David Bershatsky; +Cc: 21582

> Date:  Mon, 28 Sep 2015 23:34:45 -0700
> From:  Keith David Bershatsky <esq@lawlist.com>
> Cc:  21582@debbugs.gnu.org
> 
> There were many entries towards the end of the build:
> 
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory
> find: `chown': No such file or directory

Is that when you invoked "make install"?  I don't see 'chown' invoked
in Makefiles anywhere else.

If this is part of "make install", do you have the 'chown' command
installed in your MSYS tree?  If not, you need to install the MSYS
"coreutils-extra" package, where you will find chown.exe and some
other useful utilities.  (I have no idea why the MSYS developers
separated Coreutils into 2 binary packs.)

> However, the build completed without a problem and the Emacs binary appears to be working properly.

Well, chown is largely a no-op on Windows, so it doesn't surprise me
that it's working.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn
  2015-09-28 19:12 bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn Keith David Bershatsky
  2015-09-29  5:32 ` Eli Zaretskii
  2015-09-29  6:34 ` bug#21582: Reply to correspondence dated September 28, 2015 Keith David Bershatsky
@ 2015-09-29  7:23 ` martin rudalics
  2015-09-29 16:19 ` Keith David Bershatsky
  3 siblings, 0 replies; 6+ messages in thread
From: martin rudalics @ 2015-09-29  7:23 UTC (permalink / raw)
  To: Keith David Bershatsky, 21582

 > The first problem I had was with `./autogen.sh`, which was fixed by running:
 >
 > dos2unix configure.ac

You probably have to do

git config --global core.autocrlf false

and reload from the repository.

Emacs doesn't work with the git default settings.  I could have sworn I
saw an advice about this somewhere ...

 > make -C doc/lispref info
 > make[2]: Entering directory `/c/docume~1/lalwist/desktop/emacs/doc/lispref'
 > /bin/mkdir -p ../../info
 > GEN ../../info/elisp.info
 > ' in @synindex.Uninown index `cp' and/or `fn
 > ' in @synindex.Uninown index `vr' and/or `fn
 > ' in @synindex.Uninown index `ky' and/or `fn
 > ' in @synindex.Uninown index `pg' and/or `fn
 > make[2]: *** [../../info/elisp.info] Error 1
 > make[2]: Leaving directory `/c/docume~1/lawlist/desktop/emacs/doc/lispref'
 > make[1]: *** [lispref-info] Error 2
 > make[1]: Leaving directory `/c/docume~1/lawlist/desktop/emacs'
 > make:  *** [info] Error 2
 >
 > Any ideas on how to get passed this next hurdle would be greatly appreciated.

You probably need Eli's port of Texinfo from here ...

http://sourceforge.net/projects/ezwinports/files/

... instead of the one you have.

martin





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn
  2015-09-28 19:12 bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn Keith David Bershatsky
                   ` (2 preceding siblings ...)
  2015-09-29  7:23 ` bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn martin rudalics
@ 2015-09-29 16:19 ` Keith David Bershatsky
  3 siblings, 0 replies; 6+ messages in thread
From: Keith David Bershatsky @ 2015-09-29 16:19 UTC (permalink / raw)
  To: Eli Zaretskii, Martin Rudalics; +Cc: 21582

Yes, the `chown` error messages were displayed during the "make install" portion of the building process.  The suggestion of installing coreutils resolved the issue -- I ran the following command line to install `chown.exe` and other utilities:

mingw-get install msys-coreutils

And, as Martin noted, the default settings for installing `git` do not work with Emacs.  I re-installed git -- selecting "checkout as-is, commit as-is" as suggested by Eli and that resolved the line-ending issues with `configure.ac` and the *.info files such as `elisp.info`.

I now have a working bare-bones installation of Emacs built from the current master branch.

Thank you both very much for your help -- greatly appreciated!

Keith





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-29 16:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 19:12 bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn Keith David Bershatsky
2015-09-29  5:32 ` Eli Zaretskii
2015-09-29  6:34 ` bug#21582: Reply to correspondence dated September 28, 2015 Keith David Bershatsky
2015-09-29  6:49   ` Eli Zaretskii
2015-09-29  7:23 ` bug#21582: 25.0.50; WindowsXP GEN ../../info/elisp.info in @synindex.Uninown index `cp' and/or `fn martin rudalics
2015-09-29 16:19 ` Keith David Bershatsky

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