Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 10:16:47 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Doug Lee <dgl@dlee.org>, freebsd-ports@freebsd.org
Subject:   Re: Gmake won't make without itself
Message-ID:  <790a9fff050314081662648026@mail.gmail.com>
In-Reply-To: <20050314120454.GW4670@kirk.dlee.org>
References:  <20050314120454.GW4670@kirk.dlee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 07:04:55 -0500, Doug Lee <dgl@dlee.org> wrote:
> Not sure this is the best place for this, but I think it's the best
> among the lists I'm on...
>
The best place would have been on the freebsd-ports mailing list.
 
> I just tried, with a fresh ports tree, to build gmake after having
> pkg_deleted it, and it failed because it couldn't find its own binary.
> I "fixed" this by editing work/*/Makefile to say "make=make" instead
> of "make=gmake," then doing (from the port top) "make", then in work/*
> renaming make (the generated binary) to gmake and doing cp -p gmake
> /usr/local/bin, and finally going to the port top again and doing
> "make install clean."
>
Did you do a "make configure" before you pkg_deleted gmake?  If you
did, then that might have been why the Makefile had a gmake in it.

Try building gmake again as follows:

cd /usr/ports/devel/gmake
make deinstall
make clean
make install

And let us know if that works.

Scot

PS. Moved to freebsd-ports mailing list.



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