1.5.11: execvp bug (XP)

Isaac Foraker isaac.foraker@xilinx.com
Tue Sep 7 23:35:00 GMT 2004


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

IF

Tue, 7 Sep 2004 18:34:30 -0400, Christopher Faylor wrote:
> On Tue, Sep 07, 2004 at 12:51:26PM -0600, Isaac Foraker wrote:
> >I have run into a bug when upgrading from 1.5.10 to 1.5.11.  I use a 
> >soft-link for /usr/bin/perl to point to the real version of Perl running 
> >on my system.  This lets me switch easily between the Native ActiveState 
> >Perl and Cygwin Perl.  This used to work fine, but now my 'make' is 
> >failing when running perl.  Note: make.exe is renamed to gmake.exe in my 
> >environment to avoid conflicts with Opus make.
> >
> >#ls -l /usr/bin/perl
> >lrwxrwxrwx    1 isaacf   Domain U       24 Sep  7 12:44 /usr/bin/perl -> 
> >/usr/bin/perl5.8.5.exe
> >
> ></Makefile>
> >default:
> >   perl foo.pl
> ></Makefile>
> >
> >#gmake
> >gmake: execvp: perl: Permission denied
> 
> WFM, sorry.
> 
> Can you run perl from the command line?
> 
> 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