From owner-freebsd-current Fri Nov 27 22:49:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA10732 for freebsd-current-outgoing; Fri, 27 Nov 1998 22:49:07 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA10726 for ; Fri, 27 Nov 1998 22:49:04 -0800 (PST) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (jack@localhost) by germanium.xtalwind.net (8.9.1/8.9.1) with ESMTP id BAA23700; Sat, 28 Nov 1998 01:48:46 -0500 (EST) Date: Sat, 28 Nov 1998 01:48:45 -0500 (EST) From: jack To: Tony Maher cc: jake@checker.org, current@FreeBSD.ORG Subject: Re: install: strip: No such file or directory In-Reply-To: <199811280619.RAA02020@morgan.angis.su.OZ.AU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 28 Nov 1998, Tony Maher wrote: > /usr/src/sys/i386/boot/netboot/Makefile defines > STRIP= strip -aout > > and includes > /usr/src/share/mk/bsd.prog.mk which has > > ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ > ${INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR} > > > but dont really want the strip bit here. Setting > STRIP= > > Would solve the install bit (or just run the install by hand which is what I > did) but I dont know if this has unwanted side effects. STRIP is used during the build in the nb8390.rom, nb3c509.rom, nb8390.com, and nb3c509.com targets. Setting it to the strip(1) at that point works fine, and `strip -aout' is executed during the build. During the install, where "strip -aout" is passed as a switch to install(1) in bsd.prog.mk, install(1) wants to install a program named strip. The problem is that STRIP used `locally' for the build conflicts with its use in bsd.prog.mk. Clearing it with beforeinstall allows it to be used during the build but gets it out of the way for install. Granted this is a bit of a dirty way to do it, but it was the first thing that came to mind and I need to roll a release tonight. Something other than STRIP probably should have been used to pass `strip -aout' during the build since anything other than a valid switch for install(1) will knock the install over. -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message