> Date: Wed, 29 Apr 2015 04:36:04 +0200
> From: Alexander Shukaev <
haro...@gmail.com>
>
> I am considering to give up my current terminal (ConEmu) for Emacs Shell at
> least for some simple tasks.
You mean, Eshell, as in "M-x eshell RET"? Or something else?
> I'm on Windows and use MSYS2 as a primary
> development environment. I just wanted to build Emacs from Emacs Shell and
> here is what I've experienced when running `autogen.sh':
>
> Checking for autoconf (need at least version 2.65)...
How do you even run autogen.sh from Eshell on Windows? I get
./autogen.sh: Permission denied
and after I force Eshell to realize that Windows has no execute bit
(by setting eshell-force-execution non-nil), I get this:
/bin/sh: command not found
So if you got past that, you have a lot of Emacs customizations and/or
system configuration changes that you didn't describe.
> > Please report any problems with this script to address@hidden .
>
> That's weird because immediately issuing
>
> which automake
>
> says
>
> /usr/bin/automake
Again, for me "which automake" in Eshell says it isn't found, so you
have some non-trivial system configuration there (e.g., your MSYS2 bin
directory is probably on PATH, something that MSYS installation
doesn't do by default, AFAIK). Also, is that 'which' command an MSYS2
program or is it a native Windows program? If the latter, I won't
expect it to use the /usr/bin format, it should show the drive letter.
> I use `bash' as Emacs Shell.
What does that mean, exactly? Which variables did you customize and
how?
> Furthermore, when using `bsdtar' from Emacs Shell, I saw:
>
> bsdtar: Failed to set default locale
That's an unrelated bug in your ported 'bsdtar', I think. The one I
have here works just fine from Eshell command line.
> What could be the problem here?
Not enough info to answer that question. FWIW, once I fixed the
obvious issues with PATH, autogen.sh ran for me without any complaints
inside Eshell.