From owner-freebsd-stable Sun Jul 13 01:04:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA10530 for stable-outgoing; Sun, 13 Jul 1997 01:04:18 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [204.244.210.193]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id BAA10525 for ; Sun, 13 Jul 1997 01:04:11 -0700 (PDT) Received: from tom by misery.sdf.com with smtp (Exim 1.62 #1) id 0wnJYl-0002CV-00; Sun, 13 Jul 1997 00:59:11 -0700 Date: Sun, 13 Jul 1997 00:59:11 -0700 (PDT) From: Tom Samplonius To: Bruce Evans cc: freebsd-stable@freebsd.org Subject: Re: old "make reinstall" bug In-Reply-To: <199707130251.MAA09052@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 13 Jul 1997, Bruce Evans wrote: > > "make reinstall" fails in 2.2-stable when trying to install klm_prot.h, > >because it does not exist. > > > > klm_prot.h is generated from klm_prot.x, and put into > >/usr/obj/include/rpcsvc, but the Makefile is looking for it in > >/usr/src/include/rpcsvc, so the install fails. > > The Makefile should look for it first in the current (obj) > directory, which should be /usr/obj/usr/src/include/rpcsvc, not > /usr/obj/usr/include/rpcsvc. This works in -current, and 2.2 doesn't > seem to be significantly different for "make reinstall". > > Bruce You are right, the obj directoy IS /usr/obj/usr/src/include/rpcsvc. Where ever I said "/usr/obj/include/rpcsvc", I should have just said "object directory" However, it just doesn't work. "make reinstall" has never worked properly in 2.2, as far as I know. Every time I've done a "make world", then a "make reinstall" on another server, I need to butched up the source tree to get "make reinstall" to complete. Perhaps it because I use a separte object tree, and everyone else build the object files in the source tree? I also need to do a "make objlink" to build the obj symlinks into the object tree into order to get "make reinstall" to start installing the libs. Tom