From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 09:29:50 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50E0337B401 for ; Thu, 24 Jul 2003 09:29:50 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D53C43F85 for ; Thu, 24 Jul 2003 09:29:49 -0700 (PDT) (envelope-from RoKlein@roklein.de) Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19fiyS-0002LN-00; Thu, 24 Jul 2003 18:29:48 +0200 Received: from [217.234.134.133] (helo=z105-e.intern.studentenwohnheim-rhein-main.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19fiyR-000230-00; Thu, 24 Jul 2003 18:29:48 +0200 From: Robert Klein Organization: roklein.de To: Pete French Date: Thu, 24 Jul 2003 18:30:04 +0200 User-Agent: KMail/1.5.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307241830.04993.RoKlein@roklein.de> cc: stable@FreeBSD.ORG Subject: Re: 'which' and installing Linux software on -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: RoKlein@roklein.de List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 16:29:50 -0000 On Donnerstag, 24. Juli 2003 18:00, Pete French wrote: > Has anyone else had frustrating problems with the use of > 'which' in Linux mode ? I have some SUN software which I am > trying to install. I am running Linux bash to run the install > script - running 'uname' returns 'Linux' > > But the SUn code does 'which uname' to get the path to 'uname' > before running it. the ;which' command is a bash builtin, and > this returns the '/usr/bin/uname' command rather than > '/bin/uname'. Thus it runs /usr/bin;uname, egts the answer > 'FreeBSD' and refuses to install. > > Any ideas ? I did a search on this but didnt come up with any > answers. Put /compat/linux/bin at the beginning of your PATH environment variable for the installation. Regards, Robert