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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Fri, 13 Sep 2002 12:02:49 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Patrick J. LoPresti" cc: cygwin AT cygwin DOT com Subject: Re: (setup.ini) autoconf requires Perl? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 13 Sep 2002, Patrick J. LoPresti wrote: > Igor Pechtchanski writes: > > > On 13 Sep 2002, Patrick J. LoPresti wrote: > > > > > P.S. How about renaming Cygwin Perl to "perl" instead of "perl.exe"? > > > > If you are worried about name clashes, you're better off moving the > > ActivePerl directory to the front of your path (in /etc/profile, for > > example). > > No, not really. ActivePerl and Cygwin Perl are *different* programs. > You know which one you want when you invoke it, not when you set up > your PATH; they really must have different names. > > Under your suggestion, the name for ActivePerl would be "perl" and the > name for Cygwin Perl would be "/usr/bin/perl". This makes it > impossible to write a portable script between Unix (where perl might > really be "/usr/local/bin/perl") and Cygwin. > > We don't happen to have any such scripts, so your suggestion works for > us and is what I plan to do. But it really isn't the "right" answer. > Neither is my suggestion, really, but for different reasons :-). Not quite. If you know exactly which perl you want, you specify the exact path (i.e. #!/usr/bin/perl or #!/cygdrive/c/ActivePerl/bin/perl). If you're using just "perl", you get what you paid for (i.e. whatever's in the path). I think autoconf uses an explicit path to perl, so $PATH shouldn't matter much. Oh, and perl, when installed in /usr/local/bin, usually has a wrapper in /usr/bin, so using /usr/bin/perl should be pretty portable. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! It took the computational power of three Commodore 64s to fly to the moon. It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/