delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/08/13:33:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-BigFish: VP
Date: Wed, 08 Sep 2004 11:33:05 -0600
From: Isaac Foraker <isaac DOT foraker AT xilinx DOT com>
Subject: Re: 1.5.11: execvp bug (XP)
In-reply-to: <Pine.GSO.4.61.0409081320060.7597@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Message-id: <413F4251.1080403@xilinx.com>
Organization: Xilinx, Inc.
MIME-version: 1.0
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
References: <413E410F DOT 5010901 AT xilinx DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409071932160 DOT 4979 AT slinky DOT cs DOT nyu DOT edu> <413E4760 DOT 8060509 AT xilinx DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409071956330 DOT 4979 AT slinky DOT cs DOT nyu DOT edu> <413E8B44 DOT 9080706 AT xilinx DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409080820240 DOT 4979 AT slinky DOT cs DOT nyu DOT edu> <413F38CF DOT 1010705 AT xilinx DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0409081320060 DOT 7597 AT slinky DOT cs DOT nyu DOT edu>
X-IsSubscribed: yes

Funny you should say that.  My boss and I just discovered that as the 
culprit.  There is a bug that only manifests in 1.5.11.  Even though 
'which perl' shows /usr/bin/perl, make was running /usr/local/bin/perl.  
The version of /usr/local/bin/perl somehow lost it's 'x' attribute, so 
it couldn't be run.

So, now the question is why was perl being run from /usr/local/bin 
instead of /usr/bin when which perl shows perl in /usr/bin?  This 
doesn't happen under Cygwin 1.5.10 DLLs.  I suspect a problem with the 
execvp function.

Thanks,
IF

Igor Pechtchanski wrote:

>Do you have a "perl.exe" somewhere *else* in your PATH?  Try "type -a
>perl" from bash, or "which -a perl"...  How about "type -a perl.exe" or
>"which -a perl.exe"?  What happens when you name the symlink "perl.exe"
>instead of "perl"?
>	Igor
>
>  
>

-- 
Isaac W. Foraker <isaac DOT foraker AT xilinx DOT com>
Sr. Software Engineer, Xilinx, Longmont, CO 720.652.3918


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019