From owner-freebsd-questions@FreeBSD.ORG Wed Mar 2 14:59:54 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 19D8416A4CE for ; Wed, 2 Mar 2005 14:59:54 +0000 (GMT) Received: from mail.iinet.net.au (mail-05.iinet.net.au [203.59.3.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CC3A43D39 for ; Wed, 2 Mar 2005 14:59:52 +0000 (GMT) (envelope-from shinjii@virusinfo.rdksupportinc.com) Received: (qmail 6992 invoked from network); 2 Mar 2005 14:59:51 -0000 Received: from unknown (HELO warren.shinji.nq.nu) (203.217.86.9) by mail.iinet.net.au with SMTP; 2 Mar 2005 14:59:50 -0000 From: Warren To: freebsd-questions@freebsd.org Date: Thu, 3 Mar 2005 00:58:42 +1000 User-Agent: KMail/1.7.2 References: <200503010853.24129.shinjii@virusinfo.rdksupportinc.com> <200503021006.43448.shinjii@virusinfo.rdksupportinc.com> <444qfuktu6.fsf@be-well.ilk.org> In-Reply-To: <444qfuktu6.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503030058.42809.shinjii@virusinfo.rdksupportinc.com> Subject: Re: make, etc, whereis, commands 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: Wed, 02 Mar 2005 14:59:54 -0000 > 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. i was in /usr an accidentally typed rm -rf *>core This is whats in /usr/bin chfn login passwd ypchfn chpass make rlogin ypchpass chsh opieinfo rsh ypchsh crontab opiepasswd su yppasswd > 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. The main problem is that if i try to use make without using /usr/bin/make it fails .. when using it for e.g. to do an installworld i get.. enterprise# /usr/bin/make installworld /usr/bin/env: not found "/usr/src/Makefile", line 91: warning: "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin /usr/bin/make -f /dev/null -V MAKEOBJDIRPREFIX dummy" returned non-zero status awk: not found "/usr/src/Makefile.inc1", line 97: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h" returned non-zero status /usr/bin/mktemp: not found "/usr/src/Makefile.inc1", line 138: warning: "/usr/bin/mktemp -d -u -t install" returned non-zero status id: not found ERROR: Required smmsp user is missing, see /usr/src/UPDATING. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ============== This when doing a portupgrade.. enterprise# /usr/bin/make installworld /usr/bin/env: not found "/usr/src/Makefile", line 91: warning: "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin /usr/bin/make -f /dev/null -V MAKEOBJDIRPREFIX dummy" returned non-zero status awk: not found "/usr/src/Makefile.inc1", line 97: warning: "awk '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }' /usr/include/osreldate.h" returned non-zero status /usr/bin/mktemp: not found "/usr/src/Makefile.inc1", line 138: warning: "/usr/bin/mktemp -d -u -t install" returned non-zero status id: not found ERROR: Required smmsp user is missing, see /usr/src/UPDATING. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Yours Sincerely Shinjii http://www.shinji.nq.nu