Hi,

I'm trying to rebuild my 4-way universal framework build of python 2.6 using the latest revision in the trunk. I got a compile error due to a redefinition of FSIORefNum in some of the Mac/Modules files (see svn diff output at end of email). After changing that, I still get a problem running 'make test' at 'test_array'. My machine starts grinding away and the resident memory of the python process goes through the roof. I went ahead and tried 'make install' anyway, and got the problem below, which looks like a simple error in a config file. Has anybody seen these problems or have any suggestions? I may just need to roll it back to Ronald's revision (63955), but I thought I would try a more recent version.

Thanks,
Chris

python-trunk/build: arch -386 -ppc ../python.exe ../../Mac/scripts/ cachersrc.py -v /Library/Frameworks/Python64.framework/Versions/2.6/ lib/python2.6/plat-mac /Library/Frameworks/Python64.framework/Versions/ 2.6/Mac/Tools
arch: Unknown architecture: 386


Index: Mac/Modules/MacOS.c
===================================================================
--- Mac/Modules/MacOS.c (revision 65574)
+++ Mac/Modules/MacOS.c (working copy)
@@ -30,10 +30,6 @@
 #include <Carbon/Carbon.h>
 #include <ApplicationServices/ApplicationServices.h>

-#ifndef HAVE_MACOS105_SDK
-typedef SInt16 FSIORefNum;
-#endif
-
 static PyObject *MacOS_Error; /* Exception MacOS.Error */

 #define PATHNAMELEN 1024
Index: Mac/Modules/file/_Filemodule.c
===================================================================
--- Mac/Modules/file/_Filemodule.c      (revision 65574)
+++ Mac/Modules/file/_Filemodule.c      (working copy)
@@ -7,10 +7,6 @@

 #include "pymactoolbox.h"

-#ifndef HAVE_MACOS105_SDK
-typedef SInt16 FSIORefNum;
-#endif
-
 /* Macro to test whether a weak-loaded CFM function exists */
 #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL )  {\
         PyErr_SetString(PyExc_NotImplementedError, \

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to