1.5.11: execvp bug (XP)
Christopher Faylor
cgf-no-personal-reply-please@cygwin.com
Wed Sep 8 04:06:00 GMT 2004
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/
More information about the Cygwin
mailing list