This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.11: execvp bug (XP)

#uname -a
CYGWIN_NT-5.1 xcoisaacf20 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin

I tried this same experiment on a home PC, and it is not having the problem. The major difference I can see is that the home PC has XP SP2 installed, and the work machine is still on Service Pack 1 (I have no control over that). I'm trying to identify anything else different on the work machine that could cause 1.5.11 to not work. I'm not having any trouble with 1.5.10, so my group is sticking with that for now.


Igor Pechtchanski wrote:

Sorry, missed that. Still, like CGF, I can't reproduce this:

$ echo -e 'default:\n\tperl1' > Makefile
$ echo -e '#!/usr/bin/perl1\n\n\nprint "Success.\\n"' >
$ ln -fs /usr/bin/perl /usr/bin/perl1
$ make
$ uname -a
CYGWIN_NT-5.1 pechtcha 1.5.12(0.116/4/2) 2004-09-07 15:07 i686 unknown unknown Cygwin

There must be something peculiar to your installation.  Does the exact
recipe above work for you?

On Tue, 7 Sep 2004, Isaac Foraker wrote:

As stated in my original post, I renamed make.exe to gmake.exe to avoid
a name conflict with Opus make (also named make.exe).  So,
gmake.exe==Cygwin make.exe.  My environment is somewhat customized
because I have a lot of different build requirements depending on the
project I am working on.

Renaming gmake back to make gives the same result.

#which make

make: execvp: perl: Permission denied
make: *** [default] Error 127


Igor Pechtchanski wrote:

On Tue, 7 Sep 2004, Isaac Foraker wrote:

Yes, the perl soft link works from the command line.  Here's my test
case that fails.


print "Success.\n"


#ls -l /usr/bin/perl
lrwxrwxrwx    1 isaacf   Domain U       24 Sep  7 12:44 /usr/bin/perl ->



gmake: execvp: perl: Permission denied
gmake: *** [default] Error 127



You may also need to "rm /usr/bin/perl.exe" before you can "ln -s
/usr/bin/perl5.8.5.exe /usr/bin/perl".

According to
<>, there is
no "gmake" in the Cygwin distribution.  Is "gmake" a Windows executable,
by any chance?  If so, the behavior is expected -- Windows programs don't
understand Cygwin symlinks.

Why not use Cygwin make?

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]