Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 00:58:42 +1000
From:      Warren <shinjii@virusinfo.rdksupportinc.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: make, etc, whereis, commands broken
Message-ID:  <200503030058.42809.shinjii@virusinfo.rdksupportinc.com>
In-Reply-To: <444qfuktu6.fsf@be-well.ilk.org>
References:  <200503010853.24129.shinjii@virusinfo.rdksupportinc.com> <200503021006.43448.shinjii@virusinfo.rdksupportinc.com> <444qfuktu6.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503030058.42809.shinjii>