From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Autogen in Emacs Shell Date: Wed, 29 Apr 2015 18:51:32 +0300 Message-ID: <83twvzszjv.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430322784 32462 80.91.229.3 (29 Apr 2015 15:53:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 15:53:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 17:52:54 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YnUI9-00046k-A9 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 17:52:53 +0200 Original-Received: from localhost ([::1]:39794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnUI8-0007wA-MU for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 11:52:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnUHr-0007r1-Ud for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 11:52:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnUHo-00084J-Nv for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 11:52:35 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:45530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnUHo-00083t-9V for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 11:52:32 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NNK00600RGC7W00@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 18:42:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNK00N8WRNCQ280@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 18:42:48 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104075 Archived-At: > Date: Wed, 29 Apr 2015 04:36:04 +0200 > From: Alexander Shukaev > > 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.