From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 14:25:58 2005 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 F0BCB16A4CE for ; Wed, 2 Mar 2005 14:25:58 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69D3043D48 for ; Wed, 2 Mar 2005 14:25:54 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 9132 invoked from network); 2 Mar 2005 14:25:54 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2005 14:25:54 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 2DA6D4E; Wed, 2 Mar 2005 09:25:53 -0500 (EST) Sender: lowell@be-well.ilk.org To: Warren References: <200503010853.24129.shinjii@virusinfo.rdksupportinc.com> <44r7iz2z83.fsf@be-well.ilk.org> <200503021006.43448.shinjii@virusinfo.rdksupportinc.com> From: Lowell Gilbert Date: 02 Mar 2005 09:25:53 -0500 In-Reply-To: <200503021006.43448.shinjii@virusinfo.rdksupportinc.com> Message-ID: <444qfuktu6.fsf@be-well.ilk.org> Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: make, etc, whereis, commands broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 14:25:59 -0000 Warren writes: > > That depends on what you did. If they're completely gone, you'll need > > to get them back; backups are the traditional way of fixing this. In > > the worst case, a complete base system reinstall (possibly updating > > from source, if you have enough of your system left to do that) will > > fix it up. > > /usr/obj/usr/src/usr.bin/make/make and all the other commands that dont work > exist like the make command, but when something like a make install or > portupgrade etc is issued it fails ... so i've obviously stuffed the main > commands. Well, since we still have no idea what you actually did to your system, there's no way we can give exact directions for repairing it. Is /usr/bin/make present at all? If not, you'll have to reinstall it *somehow*, and the same for other missing executables. > Most other things work its mainly the make, whereis, vi, clear, fetch, ftp and > other things that rely on make .... > > If i re-do the base system will that then cause the various ports i have > running to need re-configuring.. e.g. dhcp, named httpd etc Not necessarily. Particularly if you "re-do" the base system from the exact same release you were running. > This sort of thing is really beyong my present knowledge lvl of BSD at > present, so exscuse the dumb questions. If you asked more *precise* questions, we would have a much easier time providing specific answers. It would also be useful if you provided more information on your system, as well as its problems. See "How to get the best results from FreeBSD questions" http://www.lemis.com/questions.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/