Message115647
Fixing the alloc_closure error is easy enough:
Index: ../setup.py
===================================================================
--- ../setup.py (revision 84528)
+++ ../setup.py (working copy)
@@ -1653,7 +1653,9 @@
'_ctypes/callbacks.c',
'_ctypes/callproc.c',
'_ctypes/stgdict.c',
- '_ctypes/cfield.c']
+ '_ctypes/cfield.c',
+ '_ctypes/malloc_closure.c',
+ ]
depends = ['_ctypes/ctypes.h']
if sys.platform == 'darwin':
That's not enough to make it possible to build ctypes on OSX though, I now get the same error for a different symbol:
*** WARNING: renaming "_ctypes" since importing it failed: dlopen(build/lib.macosx-10.6-fat-3.2/_ctypes.so, 2): Symbol not found: _ffi_prep_closure_loc
Referenced from: /Users/ronald/Projects/python/python-3.x/build/build/lib.macosx-10.6-fat-3.2/_ctypes.so
Expected in: flat namespace
in /Users/ronald/Projects/python/python-3.x/build/build/lib.macosx-10.6-fat-3.2/_ctypes.so |
|
Date |
User |
Action |
Args |
2010-09-05 13:44:47 | ronaldoussoren | set | recipients:
+ ronaldoussoren, theller, mark.dickinson, pitrou, Arfrever, agoode, srid, flox, dmalcolm, BreamoreBoy, lukasz.langa |
2010-09-05 13:44:46 | ronaldoussoren | set | messageid: <1283694286.89.0.107146705576.issue5504@psf.upfronthosting.co.za> |
2010-09-05 13:44:45 | ronaldoussoren | link | issue5504 messages |
2010-09-05 13:44:44 | ronaldoussoren | create | |
|