This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gdm
Recipients
Date 2006-07-19.17:24:48
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
When compiling python from svn on a Mac OS X with a 
case sensitive file system I get the following build
error:

running build
running build_ext
db.h: found (4, 3) in /opt/local/include/db4
db lib: using (4, 3) db-4.3
sqlite: found /usr/include/sqlite3.h
/usr/include/sqlite3.h: version 3.1.3
Traceback (most recent call last):
  File "./setup.py", line 1507, in <module>
    main()
.
.
  File "./setup.py", line 1088, in addMacExtension
    raise RuntimeError("%s not found" % name)
RuntimeError: MacOS not found
make: *** [sharedmods] Error 1




It can be fixed by either renaming the file:
  Mac/Modules/macosmodule.c 
to
  Mac/Modules/MacOSmodule.c 

or applying the following patch :
Index: setup.py
===================================================================
--- setup.py    (revision 50687)
+++ setup.py    (working copy)
@@ -1101,7 +1101,7 @@
             carbon_kwds = {'extra_compile_args':
carbon_extra_compile_args,
                            'extra_link_args':
['-framework', 'Carbon'],
                           }
-            CARBON_EXTS = ['ColorPicker', 'gestalt',
'MacOS', 'Nav',
+            CARBON_EXTS = ['ColorPicker', 'gestalt',
'macos', 'Nav',
                            'OSATerminology', 'icglue',
                            # All these are in subdirs
                            '_AE', '_AH', '_App',
'_CarbonEvt', '_Cm', '_Ctl',


Cheers,

Gideon

History
Date User Action Args
2007-08-23 14:41:25adminlinkissue1525447 messages
2007-08-23 14:41:25admincreate