From owner-freebsd-current@FreeBSD.ORG Sun Jan 24 07:09:37 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 405EB1065672 for ; Sun, 24 Jan 2010 07:09:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id C48008FC14 for ; Sun, 24 Jan 2010 07:09:36 +0000 (UTC) Received: (qmail 23037 invoked by uid 399); 24 Jan 2010 07:09:36 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 24 Jan 2010 07:09:36 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B5BF236.1030801@FreeBSD.org> Date: Sat, 23 Jan 2010 23:09:42 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100123 Thunderbird/3.0.1 MIME-Version: 1.0 To: Kostik Belousov References: <4B595D56.8030408@omnilan.de> <86d412gxxa.fsf@ds4.des.no> <20100122120856.GD59590@deviant.kiev.zoral.com.ua> In-Reply-To: <20100122120856.GD59590@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 1.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dag-Erling Sm??rgrav , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: single (debug) binaries from base source tree install fails (/usr/bin/true) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 07:09:37 -0000 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 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