delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/08/00:12:42

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
Date: Tue, 7 Sep 2004 22:48:47 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.11: execvp bug (XP)
Message-ID: <20040908024847.GB7545@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <413E410F DOT 5010901 AT xilinx DOT com>
Mime-Version: 1.0
In-Reply-To: <413E410F.5010901@xilinx.com>
User-Agent: Mutt/1.4.1i

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.
>
><foo.pl>
>#!/usr/bin/perl
>
>print "Success.\n"
></foo.pl>
>
><Makefile>
>default:
>       perl foo.pl
></Makefile>
>
>#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

--
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