From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 20:37:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 601C716A4BF for ; Thu, 28 Aug 2003 20:37:30 -0700 (PDT) Received: from freshaire.wiz.com (freshaire.wiz.com [66.143.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 858AF43FE3 for ; Thu, 28 Aug 2003 20:37:29 -0700 (PDT) (envelope-from marc@wiz.com) Received: from freshaire.wiz.com (localhost [127.0.0.1]) by freshaire.wiz.com (8.12.9/8.12.6) with ESMTP id h7T3bT6e009952 for ; Thu, 28 Aug 2003 22:37:29 -0500 (CDT) (envelope-from marc@freshaire.wiz.com) Received: (from marc@localhost) by freshaire.wiz.com (8.12.9/8.12.9/Submit) id h7T3bTcA009951 for freebsd-questions@freebsd.org; Thu, 28 Aug 2003 22:37:29 -0500 (CDT) Date: Thu, 28 Aug 2003 22:37:29 -0500 From: Marc Wiz To: FreeBSD Questions Message-ID: <20030829033728.GC9865@freshaire.wiz.com> References: <1671561231.20280829005225@mail.ru> <20030828213345.GD80772@christabel.starbreaker.net> <20030828213640.GI6312@freshaire.wiz.com> <20030828214523.GF29750@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030828214523.GF29750@dan.emsphone.com> User-Agent: Mutt/1.4i Subject: Re: Necessary code or trash? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 03:37:30 -0000 On Thu, Aug 28, 2003 at 04:45:24PM -0500, Dan Nelson wrote: > In the last episode (Aug 28), Marc Wiz said: > > Sticking with /bin/sh is a good idea. > > > > What I have done is build a static version of bash and put it /bin > > > > I changed root's shell to /bin/bash and run just fine. > > > > Has anyone noticed what a pain it is to build bash statically and > > install it in /bin? > > I don't use bash, but the bash2 port Makefile looks like it builds a > static binary by default: > > CONFIGURE_ENV= LDFLAGS=-static Thank you! I think I discovered that after I finally built bash2. The other problem I remember having was getting the silly thing to install in /bin instead of /usr/local/bin. I'll just have to RTFM on ports the next time I try it. Marc -- Marc Wiz marc@wiz.com Yes, that really is my last name.