[Pythonmac-SIG] Building pyobjc
s s
listsin at integrateddevcorp.com
Fri Jan 23 04:46:00 CET 2009
Is there a way to rebuild pyobjc on Leopard using the XCode 3.1/gcc
4.01 tools?
I have tried pulling the trunk and tagged r200-leopard builds of
pyobjc from http://svn.red-bean.com/pyobjc and neither will build
using the 02-develop-all.sh build file.
There are lots of C compiler errors starting with:
libffi-src/powerpc/ppc-ffi_darwin.c:41:67: error: libkern/
OSCacheControl.h: No such file or directory
libffi-src/powerpc/ppc-ffi_darwin.c:86: warning: no previous prototype
for ‘ffi_prep_args’
libffi-src/powerpc/ppc-ffi_darwin.c: In function ‘ffi_prep_closure’:
libffi-src/powerpc/ppc-ffi_darwin.c:751: warning: implicit declaration
of function ‘sys_icache_invalidate’
libffi-src/powerpc/ppc-ffi_darwin.c:751: warning: nested extern
declaration of ‘sys_icache_invalidate’
libffi-src/powerpc/ppc-ffi_darwin.c: At top level:
libffi-src/powerpc/ppc-ffi_darwin.c:810: warning: no previous
prototype for ‘ffi_closure_helper_DARWIN’
libffi-src/powerpc/ppc-ffi_darwin.c: In function
‘ffi_closure_helper_DARWIN’:
libffi-src/powerpc/ppc-ffi_darwin.c:845: warning: comparison between
signed and unsigned
libffi-src/powerpc/ppc-ffi_darwin.c:901: warning: pointer of type
‘void *’ used in arithmetic
libffi-src/powerpc/ppc-ffi_darwin.c:901: warning: pointer of type
‘void *’ used in arithmetic
lipo: can't figure out the architecture type of: /var/tmp//ccF5WZri.out
error: command 'gcc' failed with exit status 1
Then there's:
./02-develop-all.sh: line 15: cd: pyobjc-metadata: No such file or
directory
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/
Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such
file or directory
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/
Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such
file or directory
error: Could not find suitable distribution for
Requirement.parse('pyobjc-core>=2.0')
Modules/_Foundation_nscoder.m: In function
‘imp_NSCoder_encodeArrayOfObjCType_count_at_’:
Modules/_Foundation_nscoder.m:220: error: ‘NSUInteger’ undeclared
(first use in this function)
Modules/_Foundation_nscoder.m:220: error: (Each undeclared identifier
is reported only once
Modules/_Foundation_nscoder.m:220: error: for each function it appears
in.)
Modules/_Foundation_nscoder.m:220: error: syntax error before ‘count’
Way too many errors and what gets 'installed' doesn't link against an
app at all.
Seems also to have trashed the one that was there, not sure there's a
way to repair it short of a reinstall (DevTools or OS X install?).
Is there a checkout I'm missing or a trick to building pyobjc on
Leopard from source?
Thanks,
S
More information about the Pythonmac-SIG
mailing list