Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 1998 01:48:45 -0500 (EST)
From:      jack <jack@germanium.xtalwind.net>
To:        Tony Maher <tonym@angis.org.au>
Cc:        jake@checker.org, current@FreeBSD.ORG
Subject:   Re: install: strip: No such file or directory
Message-ID:  <Pine.BSF.4.05.9811280124520.88433-100000@germanium.xtalwind.net>
In-Reply-To: <199811280619.RAA02020@morgan.angis.su.OZ.AU>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811280124520.88433-100000>