install on MacOS X 10.1?

Richard Jones richard at bizarsoftware.com.au
Wed Oct 3 23:16:46 EDT 2001


On Thursday 04 October 2001 12:24, xxxx wrote:
> I down-laoded 2.1.1
>
> In the Makefile I found this suggested sequence
> #       ./configure
> #       make
> #       make test
> #       make install
>
> In the README it says
> Mac OS X 10.0: Run configure with "OPT='-no-cpp-precomp' ./configure
>         --with-suffix=.exe --with-dyld".  This generates executable
>         file: 'python.exe' (it cannot be named 'python' on an HFS or
>         HFS+ disk as the file name clashes with directory 'Python').
>         The '-no-cpp-precomp' option prevents a large number of
>         compilation warnings.  One of the regular expression tests
>         fails with a SEGV due to the small stack size used by default
>         (how to change this?), and the test_largefile test is only
>         expected to work on a Unix UFS filesystem (how to check for
>         this on Mac OS X?).

The README neglects to take into account that the default shell for the 
Terminal program is tcsh, and the configure line given:

  OPT='-no-cpp-precomp' ./configure --with-suffix=.exe --with-dyld

won't work in tcsh. Try running it in the bourne shell using the "sh" command 
first:

[localhost:~/src/Python-2.1.1] richard% sh
locahost% OPT='-no-cpp-precomp' ./configure --with-suffix=.exe --with-dyld

and it should work.

Note: Python 2.1.1 doesn't support Mac OS 10.1 very well at all. Read the 
thread at 

   http://lists.zope.org/pipermail/zope-dev/2001-October/013416.html


      Richard




More information about the Python-list mailing list