delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/02/20/12:29:02

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Tue, 20 Feb 2001 12:00:35 -0500
From: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: ash's handling of foo.exe and Foo (Re: Cygwin 1.1.8 Python 2.1a2 Builds OOTB)
Message-ID: <20010220120035.E512@dothill.com>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
Organization: Dot Hill Systems Corp.

On Mon, Feb 20, 2001 at 10:57:53AM -0500, Jason Tishler wrote:
> On Mon, Feb 05, 2001 at 12:44:09PM -0500, Jason Tishler wrote:
> > Python 2.1a2 builds OOTB under Cygwin 1.1.8 or later.
> 
> There is one nit that I just noticed -- make install will fail during
> the $(srcdir)/Lib/$(PLATDIR) target.  The simple workaround is to execute
> make install as follows:
> 
>     make EXE=.exe install
> 
> I will submit a patch to Python to correct the above problem which can be
> traced to the Makefile is now using EXEEXT while the regen shell script is
> still using EXE.  But, this could also be classified as an ash "issue" so
> see my next post, if interested.

Although, this could be corrected in ash too.  It seems like ash won't
execute foo.exe when there also exists a directory called Foo at the
same level:

    $ sh
    $ ls -dl [Pp]ython*
    drwxr-xr-x   3 jt       Domain U    24576 Feb 19 16:12 Python
    -rwxr-xr-x   1 jt       Domain U    34903 Feb 19 16:13 python.exe
    $ python
    python: not found
    $ python.exe
    Python 2.1a2 (#1, Feb 19 2001, 16:13:17)
    ...
    
But, the above problem does not occur in bash:

    $ bash
    $ ls -dl [Pp]ython*
    drwxr-xr-x   3 jt       Domain U    24576 Feb 19 16:12 Python
    -rwxr-xr-x   1 jt       Domain U    34903 Feb 19 16:13 python.exe
    $ python
    Python 2.1a2 (#1, Feb 19 2001, 16:13:17)
    ...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason DOT Tishler AT dothill DOT com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019