[ python-Bugs-1525447 ] Build fails on OS X with case sensitive fs

SourceForge.net noreply at sourceforge.net
Wed Jul 19 19:25:44 CEST 2006


Bugs item #1525447, was opened at 2006-07-19 19:24
Message generated for change (Settings changed) made by gdm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525447&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 6
Submitted By: gideon may (gdm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build fails on OS X with case sensitive fs

Initial Comment:
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



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1525447&group_id=5470


More information about the Python-bugs-list mailing list