Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2000 12:45:23 -0400
From:      Bill Fumerola <billf@chimesnet.com>
To:        Marcel Moolenaar <marcel@cup.hp.com>
Cc:        current@freebsd.org, marcel@freebsd.org
Subject:   Re: installkernel broken?
Message-ID:  <20000726124523.U51462@jade.chc-chimes.com>
In-Reply-To: <397F0A13.E2127CFA@cup.hp.com>; from marcel@cup.hp.com on Wed, Jul 26, 2000 at 08:56:03AM -0700
References:  <20000726041041.T51462@jade.chc-chimes.com> <397F0A13.E2127CFA@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 26, 2000 at 08:56:03AM -0700, Marcel Moolenaar wrote:

> > Now, why are we looking in ${WORLDTMP}/usr/sbin when what we should be
> > looking in is ${WORLDTMP}/usr.sbin? Same with /usr/bin != /usr.bin...
> 
> WORLDTMP is a place to *install* binaries we made during the build. We
> don't install in /usr.bin or /usr.sbin; we install in /usr/bin and
> /usr/sbin resp.

And then we try and install the kernel using those utilties that are in 
directories that don't exist:

crazyhorse# make kernel=GENERIC installkernel
cd /usr/obj/usr/src/sys/GENERIC;  MAKEOBJDIRPREFIX=/usr/obj  COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/i386/usr/bin  LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib  OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.6.0  PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.1532 MACHINE=i386 KERNEL=GENERIC  make KERNEL=GENERIC install
make: not found
*** Error code 127

crezyhorse# ls -l /usr/obj/usr/src/{,i386/}usr{.,/}{s,}bin/make/make
ls: /usr/obj/usr/src/i386/usr.bin/make: No such file or directory
ls: /usr/obj/usr/src/i386/usr.sbin/make: No such file or directory
ls: /usr/obj/usr/src/i386/usr/bin/make: No such file or directory
ls: /usr/obj/usr/src/i386/usr/sbin/make: No such file or directory
ls: /usr/obj/usr/src/usr.sbin/make: No such file or directory
ls: /usr/obj/usr/src/usr/bin/make: No such file or directory
ls: /usr/obj/usr/src/usr/sbin/make: No such file or directory
-rwxr-xr-x  1 root  wheel  112614 Jul 26 08:20 /usr/obj/usr/src/usr.bin/make/make

> > Disgruntled and reverting back to making kernels the way they were intended,
> 
> So, what's broken then?

Look where we define the PATH and look where I finally found make.
We seem to not be sticking it in the places we look to build with virgin
binaries.

-- 
Bill Fumerola - Network Architect, BOFH / Chimes, Inc.
                billf@chimesnet.com / billf@FreeBSD.org





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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