Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 14:08:56 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Dag-Erling Sm??rgrav <des@des.no>
Cc:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>, freebsd-current@freebsd.org
Subject:   Re: single (debug) binaries from base source tree install fails (/usr/bin/true)
Message-ID:  <20100122120856.GD59590@deviant.kiev.zoral.com.ua>
In-Reply-To: <86d412gxxa.fsf@ds4.des.no>
References:  <4B595D56.8030408@omnilan.de> <86d412gxxa.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Fri, Jan 22, 2010 at 12:51:29PM +0100, Dag-Erling Sm??rgrav wrote:
> Harald Schmalzbauer <h.schmalzbauer@omnilan.de> writes:
> > I try to install a DEBUG_FLAGS=-g version of top since it core dumps
> > on my 8.0-RELEASE box.
> 
> How?
> 
> > 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
> 
> You screwed up somewhere...  built in the wrong directory or something.
> The correct procedure is simply:
> 
> % cd /usr/src/usr.bin/top
> % make clean
> % make DEBUG_FLAGS=-g
> % make install

make install shall be done with DEBUG_FLAGS=-g too, otherwise installed
binary will be stripped.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAktZlVgACgkQC3+MBN1Mb4hsiACfQSiGG4+aYeuy0mETVSqPygRc
Ei4AoJbSO8L/5+OVs5L06Vi6+irVywpF
=uleA
-----END PGP SIGNATURE-----

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