Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Tue, 07 Sep 2004 22:35:43 -0600 From: Isaac Foraker Subject: Re: 1.5.11: execvp bug (XP) In-reply-to: <20040908024847.GB7545@trixie.casa.cgf.cx> To: cygwin AT cygwin DOT com Message-id: <413E8C1F.1010404@xilinx.com> Organization: Xilinx, Inc. MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) References: <413E410F DOT 5010901 AT xilinx DOT com> <20040908024847 DOT GB7545 AT trixie DOT casa DOT cgf DOT cx> X-IsSubscribed: yes # ls -lL /usr/bin/perl.exe ls: /usr/bin/perl.exe: No such file or directory Some other possibly useful stuff: # ls -lL /usr/bin/perl -rwxr-x---+ 1 isaacf Users 11776 Aug 30 13:52 /usr/bin/perl # ls -l /usr/bin/perl lrwxrwxrwx 1 isaacf Domain U 22 Sep 7 17:14 /usr/bin/perl -> /usr/bin/perl5.8.5.exe # perl -v This is perl, v5.8.5 built for cygwin-thread-multi-64int ... # uname -a CYGWIN_NT-5.1 xcoisaacf20 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin Thanks, IF Christopher Faylor wrote: >On Tue, Sep 07, 2004 at 05:15:27PM -0600, Isaac Foraker wrote: > > >>Yes, the perl soft link works from the command line. Here's my test case >>that fails. >> >> >>#!/usr/bin/perl >> >>print "Success.\n" >> >> >> >>default: >> perl foo.pl >> >> >>#ls -l /usr/bin/perl >>lrwxrwxrwx 1 isaacf Domain U 24 Sep 7 12:44 /usr/bin/perl -> >>/usr/bin/perl5.8.5.exe >> >>#gmake >>perl foo.pl >>gmake: execvp: perl: Permission denied >>gmake: *** [default] Error 127 >> >>#perl foo.pl >>Success. >> >>You may also need to "rm /usr/bin/perl.exe" before you can "ln -s >>/usr/bin/perl5.8.5.exe /usr/bin/perl". >> >> > >What does > >ls -lL /usr/bin/perl.exe > >show? > >cgf > > -- Isaac W. Foraker 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/