From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Autogen in Emacs Shell Date: Wed, 29 Apr 2015 10:31:18 +0200 Message-ID: <20150429083118.GA9370@tuxteam.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1430296313 16230 80.91.229.3 (29 Apr 2015 08:31:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 08:31:53 +0000 (UTC) Cc: help-gnu-emacs To: Alexander Shukaev Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 29 10:31:46 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 1YnNPC-0001E2-GG for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 10:31:42 +0200 Original-Received: from localhost ([::1]:37664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnNPB-0006k9-6f for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Apr 2015 04:31:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnNOy-0006fz-Uu for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 04:31:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnNOv-0006u4-PH for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 04:31:28 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:55333 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnNOv-0006tM-K3 for help-gnu-emacs@gnu.org; Wed, 29 Apr 2015 04:31:25 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1YnNOo-0002Yh-Nx; Wed, 29 Apr 2015 10:31:18 +0200 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:104067 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Apr 29, 2015 at 04:36:04AM +0200, Alexander Shukaev wrote: > Hello, > > I am considering to give up my current terminal (ConEmu) for Emacs Shell at > least for some simple tasks [...] > That's weird because immediately issuing > > which automake > > > says > > /usr/bin/automake > > > I use `bash' as Emacs Shell. In ConEmu the same `autogen.sh' works fine. > > Furthermore, when using `bsdtar' from Emacs Shell, I saw: > > bsdtar: Failed to set default locale > > > What could be the problem here? As a hunch (but still, there are things this hunch can't explain), perhaps ConEmu is running your bash as a "login shell", meaning that bash does some environment settings it won't redo in a "normal" shell session, which assumes it inherits those from its ancestor login shell. An easy way to verify this hunch would be to tell your (Emacs) terminal to use "/bin/bash --login" instead of just "/bin/bash" as thedefault shell (please substitute /bin/bash by whatever the correct path is in your system). Another thing you could do is to issue in both shells the built-in command "set" (which shows you all the environment variable settings) and study the differences. Watch out especially for PATH, LANG, LANGUAGE and all the other locale stuff, like LC_* hth - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlVAltYACgkQBcgs9XrR2kZr3gCfcoHZD2m72tyUs8i0WPt8Q9Fw 2iEAniYIhNQMYOSLft1ffAcnuS6oxqCM =TlzF -----END PGP SIGNATURE-----