From owner-freebsd-current Wed Jul 26 9:45:30 2000 Delivered-To: freebsd-current@freebsd.org Received: from jade.chc-chimes.com (jade.chc-chimes.com [216.28.46.6]) by hub.freebsd.org (Postfix) with ESMTP id 7147437BBAE; Wed, 26 Jul 2000 09:45:27 -0700 (PDT) (envelope-from billf@jade.chc-chimes.com) Received: by jade.chc-chimes.com (Postfix, from userid 1001) id 8AD931C6B; Wed, 26 Jul 2000 12:45:23 -0400 (EDT) Date: Wed, 26 Jul 2000 12:45:23 -0400 From: Bill Fumerola To: Marcel Moolenaar Cc: current@freebsd.org, marcel@freebsd.org Subject: Re: installkernel broken? Message-ID: <20000726124523.U51462@jade.chc-chimes.com> References: <20000726041041.T51462@jade.chc-chimes.com> <397F0A13.E2127CFA@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <397F0A13.E2127CFA@cup.hp.com>; from marcel@cup.hp.com on Wed, Jul 26, 2000 at 08:56:03AM -0700 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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