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

--OAsA6xQjj2jRKPG2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=3D-g version of top since it core dumps
> > on my 8.0-RELEASE box.
>=20
> How?
>=20
> > 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
>=20
> You screwed up somewhere...  built in the wrong directory or something.
> The correct procedure is simply:
>=20
> % cd /usr/src/usr.bin/top
> % make clean
> % make DEBUG_FLAGS=3D-g
> % make install

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

--OAsA6xQjj2jRKPG2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

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

--OAsA6xQjj2jRKPG2--



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