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.
                [EMAIL PROTECTED] / [EMAIL PROTECTED]





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to