Message29210
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
|
|
Date |
User |
Action |
Args |
2007-08-23 14:41:25 | admin | link | issue1525447 messages |
2007-08-23 14:41:25 | admin | create | |
|