From owner-freebsd-questions Wed Jan 3 22: 6:46 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 22:06:44 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 81F2337B400 for ; Wed, 3 Jan 2001 22:06:43 -0800 (PST) Received: (qmail 22361 invoked by uid 100); 4 Jan 2001 06:06:39 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14932.4847.438068.54864@guru.mired.org> Date: Thu, 4 Jan 2001 00:06:39 -0600 (CST) To: lanehol@bellsouth.net Cc: questions@freebsd.org Subject: Re: vgrind: not found in make buildworld! EEEEKKKK!! In-Reply-To: <106922544@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG lanehol@bellsouth.net types: > I should mention that I found vgrind in /usr/bin but when I type > /usr/bin/vgrind > I get: > /usr/bin/vgrind: not found > > What's up with that? > The permissions are -r-xr-xr-x and I'm logged in as root. > My confusion deepens. Chances are that vgrind is corrupt, or that /bin/csh is broken. See if your system matches the following, and fix it where it doesn't: bash-2.04$ which vgrind /usr/bin/vgrind bash-2.04$ file /usr/bin/vgrind /usr/bin/vgrind: C shell script text executable bash-2.04$ head -1 /usr/bin/vgrind #!/bin/csh -f bash-2.04$ file /bin/csh /bin/csh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped bash-2.04$ csh % The "not found" is an idiocy in the exec system call - it reports that script executables aren't even when they are if there is a failure in executing the script interpreter. So the shell quite reasonably reports that it can't find that executable on the path, even though the file exists and is executable. Fixing this should also fix your make problem. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message