From f8197d4f9f09585896c2957f34a6d3fac3362190 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 12 Nov 2001 14:11:13 +0000 Subject: OSX notes: - Added a note about the limit stack command - Revoved the note about largefile - Added a note about /usr/local not existing by default. --- README | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README b/README index 1286924..fc44992 100644 --- a/README +++ b/README @@ -395,18 +395,23 @@ Mac OS X 10.0: Run configure with "./configure --with-suffix=.exe". 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'). 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?). + with a SEGV due to the small stack size used by default, if you do + "limit stacksize 2048" before "make test" it should work. + On naked Darwin you may have to add the configure option "--disable-toolbox-glue" to disable the glue code for the Carbon interface modules. (The modules themselves are currently not built by default as they are experimental, on real OSX you can enable them in setup.py). + + On a clean OSX /usr/local does not exist. Do a "sudo mkdir -m 775 /usr/local" + before you do a make install, this is better than "sudo make install" + which installs everything as superuser. + You may want to try the configure option "--enable-framework" which installs Python as a framework. The location can be set as argument - to the --enable-framework option (default /Library/Frameworks). + to the --enable-framework option (default /Library/Frameworks). You may + also want to check out ./Mac/OSX for building a Python.app. Cygwin: Cygwin Python builds OOTB when configured as follows: -- cgit v0.12