single (debug) binaries from base source tree install fails
(/usr/bin/true)
Kostik Belousov
kostikbel at gmail.com
Fri Jan 22 12:09:03 UTC 2010
On Fri, Jan 22, 2010 at 12:51:29PM +0100, Dag-Erling Sm??rgrav wrote:
> Harald Schmalzbauer <h.schmalzbauer at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100122/0f87d3e5/attachment.pgp
More information about the freebsd-current
mailing list