From owner-freebsd-current Mon Jan 7 15:23:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id 016A537B404 for ; Mon, 7 Jan 2002 15:23:22 -0800 (PST) Received: from [172.22.42.2] (freelove.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.11.6/8.11.1) with ESMTP id g07NNBu03710; Mon, 7 Jan 2002 16:23:11 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Mon, 07 Jan 2002 16:23:11 -0700 Subject: Re: installworld error (ex: not found) From: Ian To: Munish Chopra , Message-ID: In-Reply-To: <20020107170636.C352@rn-re116a13.uwaterloo.ca> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Munish Chopra > Date: Mon, 7 Jan 2002 17:06:36 -0600 > > ex: not found > *** Error code 127 > > Stop in /usr/src/share/termcap. > *** Error code 1 > > ....so wondering where ex is and what is wrong with it: > > [15:26 munish@rn-re116a13 ~] ll /usr/bin/ex > -r-xr-xr-x 6 root wheel 279952 Dec 29 15:19 /usr/bin/ex > > ....it's there and fine. The PATH is set fine too. I ran into a similar(-ish) problem this morning trying to do a make installworld from an nfs-mounted filesystem where I had done my buildworld on another machine. What I discovered after much frustration is that installworld invokes make with a complete override of PATH such that it only looks for things in /usr/obj/... and the fact that the ex binary exists in a normal PATH place doesn't help. In my case, I had to mount remote:/usr/obj over the local /usr/obj before doing the make installworld. (This was my first foray into updating binaries on machine A from a build done on machine B. The instructions in the makefile left room for imagination.) I know this isn't a complete answer to your question, just a clue: it's probably looking for /usr/obj/usr/src/bin/ex -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message