Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 11:33:21 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        freebsd-current@freebsd.org
Cc:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
Subject:   Re: single (debug) binaries from base source tree install fails (/usr/bin/true)
Message-ID:  <20100122113321.7fc11ed6@ernst.jennejohn.org>
In-Reply-To: <4B595D56.8030408@omnilan.de>
References:  <4B595D56.8030408@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Jan 2010 09:09:58 +0100
Harald Schmalzbauer <h.schmalzbauer@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100122113321.7fc11ed6>