Re: single (debug) binaries from base source tree install fails (/usr/bin/true)

From: Gary Jennejohn <gary.jennejohn_at_freenet.de>
Date: Fri, 22 Jan 2010 11:33:21 +0100
On Fri, 22 Jan 2010 09:09:58 +0100
Harald Schmalzbauer <h.schmalzbauer_at_omnilan.de> wrote:

> I try to install a DEBUG_FLAGS=-g version of top since it core dumps on 
> my 8.0-RELEASE box.
> Compiling works with warnings, but installing fails with superfluous 
> "/usr/bin/true" after install:
> 
> install /usr/bin/true -o root -g wheel -m 555   top /usr/bin
> install: -o: No such file or director
> 
> Can someone please tell me how to correctly replace single binaries in 
> the base system with debug versions?
> 

Simply overwrite it with the binary from /usr/obj//usr/src/usr.bin/top.
top is not schg (see chflgas(1)), so this will work.

---
Gary Jennejohn
Received on Fri Jan 22 2010 - 09:33:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC