help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autogen in Emacs Shell


From: tomas
Subject: Re: Autogen in Emacs Shell
Date: Wed, 29 Apr 2015 10:31:18 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]