[Python-bugs-list] [ python-Bugs-486565 ] Mac OS 10.1: unobvious: --with-suffix

noreply@sourceforge.net noreply@sourceforge.net
Wed, 28 Nov 2001 14:01:23 -0800


Bugs item #486565, was opened at 2001-11-28 10:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=486565&group_id=5470

Category: Macintosh
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Ralf W. Grosse-Kunstleve (rwgk)
Assigned to: Jack Jansen (jackjansen)
Summary: Mac OS 10.1: unobvious: --with-suffix

Initial Comment:
First attempts to install Python-2.2b2 under Mac OS 
10.1 on a HFS+ filesystem failed at the point of 
linking the python executable. When browsing 
comp.lang.python it became clear that the --with-
suffix=.exe configure option has to be used. 
Currently, configure only reports:

checking for executable suffix... no
checking for --with-suffix...

It would be a big improvement if configure could issue 
a very visible warning, or even better, supply the 
suffix automatically and tell the user at the very end 
that python is python.exe.

Thanks!
        Ralf


----------------------------------------------------------------------

>Comment By: Ralf W. Grosse-Kunstleve (rwgk)
Date: 2001-11-28 14:01

Message:
Logged In: YES 
user_id=71407

> Yes, this is a serious problem. Configure _does_ give a 
warning, ...

I cannot even see the warning when I am looking for it. A 
full output of running 2.2b2 configure under MacOS 10.1 is 
available at this location:

http://cci.lbl.gov/~rwgk/tmp/MacOS10.1_Python-
2.2b2_configure_output.txt

Is the warning in there?

> Would you happen to know of a way to test for this?

You could simply try to detect the very feature that is 
causing the default build to fail:

1. Create an empty file with some dummy, lowercase name:

        touch zap

2. Now test the existence of the file under the uppercase 
name:

        test -f ZAP

3. On HFS, $status == 0, on UFS or NFS, $status == 1.

Ralf


----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2001-11-28 12:42

Message:
Logged In: YES 
user_id=45365

Yes, this is a serious problem. Configure _does_ give a warning, but it gets lost in the stream of output it
produces.

The problem is that I don't know how to test whether we're building on an HFS+ filesystem. Only then should
we add the --with-suffix automatically, if you're building on a UFS or NFS filesystem there is no problem.

Would you happen to know of a way to test for this? Or should I simply always use --with-suffix on OSX?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=486565&group_id=5470