From xemacs-m  Mon May 26 17:25:37 1997
Received: from ringtail.nas.nasa.gov (ringtail.nas.nasa.gov [129.99.33.58])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA17192
	for <xemacs-beta@xemacs.org>; Mon, 26 May 1997 17:25:36 -0500 (CDT)
Received: from ringtail.nas.nasa.gov (lonhyn@localhost)
	by ringtail.nas.nasa.gov (8.7.6/NAS.6.1) with ESMTP id PAA10165
	for <xemacs-beta@xemacs.org>; Mon, 26 May 1997 15:25:31 -0700 (PDT)
Message-Id: <199705262225.PAA10165@ringtail.nas.nasa.gov>
To: xemacs-beta@xemacs.org
Subject: Re: AIX /bin/sh chokes on autoconf 2 configure script 
In-Reply-To: Your message of 26 May 1997 01:58:45 -0700 
Date: Mon, 26 May 1997 15:25:31 -0700
From: "Lonhyn T. Jasinskyj" <lonhyn@nas.nasa.gov>


Under AIX /bin/sh is not sh, it is ksh. If you really want sh then you
need to use /bin/bsh. I wasted about half a day discovering this one
time. Oftentimes cd breaks because of the intrusion of CDPATH or
because cd tells you where it cd'ed to when it ends up "being smart"
and using CDPATH. This often breaks the world.

FYI (this is off our SP2 (AIX 4.1.4 machine)):

babbage1:; ls -li /bin/*sh*
 5058 -r-xr-xr-x   2 bin      bin       341052 Dec 05 17:03 /bin/Rsh*
 5058 -r-xr-xr-x   2 bin      bin       341052 Dec 05 17:03 /bin/bsh*
 4161 -rwxr-xr-x   1 root     security      73 Dec 05 17:13 /bin/chsh*
 4169 -r-xr-sr-x   1 root     secure     19294 May 28 1995  /bin/chsh.orig*
 5582 -r-xr-xr-x   1 bin      bin       154412 Dec 05 17:03 /bin/csh*
 5025 -r-xr-xr-x  15 bin      bin         1042 Dec 05 17:03 /bin/hash*
 5590 -r-xr-xr-x   4 bin      bin       229584 Dec 05 17:03 /bin/ksh*
 5458 lrwxrwxrwx   1 root     root          24 Mar 27 1996  /bin/lshacws@ -> /usr/lpp/ssp/bin/lshacws*
 4427 -r-xr-xr-x   1 bin      bin       242992 Apr 20 1995  /bin/msh*
 5557 -rwxr-xr-x   1 root     root       22231 Mar 30 1996  /bin/noshell*
 4282 -r-xr-xr-x   1 bin      bin         5076 Apr 09 1995  /bin/odmshow*
 5590 -r-xr-xr-x   4 bin      bin       229584 Dec 05 17:03 /bin/psh*
 4299 -r-xr-s---   1 root     root        3424 Apr 09 1995  /bin/refresh*
 4491 -r-sr-xr-x   2 root     root        8632 Apr 09 1995  /bin/remsh*
 4491 -r-sr-xr-x   2 root     root        8632 Apr 09 1995  /bin/rsh*
 5095 -r-xr-xr-x   1 bin      bin        11896 Apr 09 1995  /bin/sccshelp*
 5590 -r-xr-xr-x   4 bin      bin       229584 Dec 05 17:03 /bin/sh*
 4312 -r-sr-xr-x   1 root     secure      4486 May 28 1995  /bin/shell*
 4523 -r-xr-xr-x   3 bin      bin       146792 Apr 20 1995  /bin/show*
 5194 -r-xr-xr-x   1 root     root        5558 May 17 1995  /bin/showmount*
 4156 lrwxrwxrwx   1 root     root          19 Dec 30 16:25 /bin/tcsh@ -> /usr/local/bin/tcsh*
 5590 -r-xr-xr-x   4 bin      bin       229584 Dec 05 17:03 /bin/tsh*


lonhyn

