From owner-freebsd-current@FreeBSD.ORG Fri Jan 22 11:51:31 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 DAF7D1065676 for ; Fri, 22 Jan 2010 11:51:31 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0CF8FC1A for ; Fri, 22 Jan 2010 11:51:31 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 86DF11FFC22; Fri, 22 Jan 2010 11:51:30 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 56FCD844B0; Fri, 22 Jan 2010 12:51:30 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Harald Schmalzbauer References: <4B595D56.8030408@omnilan.de> Date: Fri, 22 Jan 2010 12:51:29 +0100 In-Reply-To: <4B595D56.8030408@omnilan.de> (Harald Schmalzbauer's message of "Fri, 22 Jan 2010 09:09:58 +0100") Message-ID: <86d412gxxa.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org 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: Fri, 22 Jan 2010 11:51:31 -0000 Harald Schmalzbauer writes: > I try to install a DEBUG_FLAGS=3D-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=3D-g % make install DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no