Date: Sat, 23 Jan 2010 23:09:42 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: Dag-Erling Sm??rgrav <des@des.no>, freebsd-current@freebsd.org, Harald Schmalzbauer <h.schmalzbauer@omnilan.de> Subject: Re: single (debug) binaries from base source tree install fails (/usr/bin/true) Message-ID: <4B5BF236.1030801@FreeBSD.org> In-Reply-To: <20100122120856.GD59590@deviant.kiev.zoral.com.ua> References: <4B595D56.8030408@omnilan.de> <86d412gxxa.fsf@ds4.des.no> <20100122120856.GD59590@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/22/10 04:08, Kostik Belousov wrote: > 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. Also you probably want to do cleandir, obj, and depend steps as well. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5BF236.1030801>