From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 02:56:01 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 D1DD116A4CE for ; Tue, 1 Mar 2005 02:56:01 +0000 (GMT) Received: from hotmail.com (bay2-f24.bay2.hotmail.com [65.54.247.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id A909C43D55 for ; Tue, 1 Mar 2005 02:56:01 +0000 (GMT) (envelope-from missive@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 28 Feb 2005 18:56:00 -0800 Message-ID: Received: from 208.186.54.187 by by2fd.bay2.hotmail.msn.com with HTTP; Tue, 01 Mar 2005 02:55:46 GMT X-Originating-IP: [208.186.54.187] X-Originating-Email: [missive@hotmail.com] X-Sender: missive@hotmail.com In-Reply-To: <200503011113.37558.shinjii@virusinfo.rdksupportinc.com> From: "Lee Harr" To: freebsd-questions@freebsd.org Date: Tue, 01 Mar 2005 07:25:46 +0430 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 01 Mar 2005 02:56:00.0368 (UTC) FILETIME=[32FA0700:01C51E0A] Subject: Re: make etc broken 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: Tue, 01 Mar 2005 02:56:02 -0000 > > >i was clearing out some files in /usr and accidentally did something >and > > >now > > >command such as: clear, make, whereis no longer work ... how can i get > > >them > > >back to working ? > > > > You could try doing an upgrade from the CD. > > > > /stand/sysinstall > >Will this change any of the all ready installed ports and configurations >setup >on the machine ? Possibly, especially since you say that you had just upgraded with buildworld/installworld. If some port/config depended on the update then that would break. Sort of depends on how much you have upgraded from the CD. > > If you have a working system, you could try copying the > > files over from the working system to the broken system. > > > > If you built the system yourself (buildworld...) they may > > still be in the /usr/obj tree somewhere. > >Yes i did do a buildworld and installworld day before this accident >happend, >however the /usr/bin/make dosent exist only the >/usr/src/usr.bin/make You need to look under /usr/obj (as I said ;o) >ls /usr/obj/usr/src/usr.bin/make/make /usr/obj/usr/src/usr.bin/make/make _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/