all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Autogen in Emacs Shell
Date: Wed, 29 Apr 2015 18:51:32 +0300	[thread overview]
Message-ID: <83twvzszjv.fsf@gnu.org> (raw)
In-Reply-To: <CAKu-7WytvpYmg9VKAs=_-ksnup6cpHKcuMf+gHhu0T1qm0x-QQ@mail.gmail.com>

> Date: Wed, 29 Apr 2015 04:36:04 +0200
> From: Alexander Shukaev <haroogan@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.

> > ok
> > Checking for automake (need at least version 1.11)...
> > missing
> > Building Emacs from the repository requires the following specialized
> > programs:
> > autoconf (minimum version 2.65)
> > automake (minimum version 1.11)
> > Your system seems to be missing the following tool(s):
> > automake (missing)
> > If you think you have the required tools, please add them to your PATH
> > and re-run this script.
> > Otherwise, please try installing them.
> > On systems using rpm and yum, try: "yum install PACKAGE"
> > On systems using dpkg and apt, try: "apt-get install PACKAGE"
> > Then re-run this script.
> > If you do not have permission to do this, or if the version provided
> > by your system is too old, it is normally straightforward to build
> > these packages from source.  You can find the sources at:
> > ftp://ftp.gnu.org/gnu/PACKAGE/
> > Download the package (make sure you get at least the minimum version
> > listed above), extract it using tar, then run configure, make,
> > make install.  Add the installation directory to your PATH and re-run
> > this script.
> > If you know that the required versions are in your PATH, but this
> > script has made an error, then you can simply run
> > autoreconf -i -I m4
> > instead of this script.
> > 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.



  parent reply	other threads:[~2015-04-29 15:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29  2:36 Autogen in Emacs Shell Alexander Shukaev
2015-04-29  8:31 ` tomas
2015-04-29 15:51 ` Eli Zaretskii [this message]
2015-04-30 18:14   ` Alexander Shukaev
2015-04-30 19:26     ` Eli Zaretskii
2015-04-30 19:44       ` Alexander Shukaev
2015-04-30 19:54         ` Eli Zaretskii
2015-05-01  9:26     ` tomas
2015-05-01 14:33       ` Alexander Shukaev
2015-05-01 14:46         ` Alexander Shukaev
2015-05-01 15:03         ` tomas
2015-05-01 16:08           ` Alexander Shukaev
2015-05-01 17:06             ` Alexander Shukaev
2015-05-01 17:49               ` Eli Zaretskii
2015-05-01 18:35                 ` Alexander Shukaev
2015-05-01 18:51                   ` Eli Zaretskii
2015-05-01 19:05                     ` Alexander Shukaev
2015-05-01 19:07                       ` Alexander Shukaev
2015-05-01 19:26                       ` Eli Zaretskii
2015-05-01 19:38                   ` Eli Zaretskii
2015-05-01 19:46                     ` Alexander Shukaev
2015-05-02  6:31                       ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83twvzszjv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.