[Pythonmac-SIG] Building pyobjc

2009-01-22 Thread s s
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


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] appscript install error using easy_install

2009-01-22 Thread Rajanikanth Jammalamadaka
Hi!

Does anybody know why I get this error?
sudo easy_install appscript

Searching for appscript
Reading http://pypi.python.org/simple/appscript/
Reading http://freespace.virgin.net/hamish.sanderson/appscript.html
Reading http://appscript.sourceforge.net
Best match: appscript 0.19.0
Downloading 
http://pypi.python.org/packages/source/a/appscript/appscript-0.19.0.tar.gz#md5=d234c1f1b92290da9eb866f78f9a7343
Processing appscript-0.19.0.tar.gz
Running appscript-0.19.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-2iBEHM/appscript-0.19.0/egg-dist-tmp-Xi3zVD
zip_safe flag not set; analyzing archive contents...
No eggs found in
/tmp/easy_install-2iBEHM/appscript-0.19.0/egg-dist-tmp-Xi3zVD (setup
script problem?)


Thanks,

Raj
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[Pythonmac-SIG] .ppc on intel still possible?

2009-01-22 Thread DavidW


Hi all,

Would someone please confirm or deny that as from OS 10.5.6 it is no  
longer possible to instantiate .ppc binaries?

I'm pretty sure is was still possible under 10.5.x (for x<6)

thanks!

D.

David Worrall.
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group:  creative.canberra.edu.au/scrg
- Experimental Polymedia:   www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig