[Pythonmac-SIG] pyobjc 2.0 with the python.org distribution?

David Warde-Farley dwf at cs.toronto.edu
Wed Dec 17 10:52:58 CET 2008


Hi folks,

I noticed today that while PyObjC, etc. is included in the system  
Python in 10.5, the py2.5-fat binaries on undefined.org are 1.4.x  
series. As I understood it, the python.org UB is the only solution if  
you want to build redistributable applications. I also have been using  
it as a jumping off point so that I have a completely common dev  
environment on 10.5 and 10.4 for other stuff I do.

Well, I'm trying to build PyObjC 2.0 from trunk with the python.org  
package and running into all sorts of errors.

For example, pyobjc-core fails to build with this:

Modules/objc/bundle-variables.m: In function  
‘PyObjC_loadBundleFunctions’:
Modules/objc/bundle-variables.m:221: error: ‘_localHandler’ undeclared  
(first use in this function)
Modules/objc/bundle-variables.m:221: error: (Each undeclared  
identifier is reported only once
Modules/objc/bundle-variables.m:221: error: for each function it  
appears in.)
Modules/objc/bundle-variables.m: In function  
‘PyObjC_loadBundleFunctions’:
Modules/objc/bundle-variables.m:221: error: ‘_localHandler’ undeclared  
(first use in this function)
Modules/objc/bundle-variables.m:221: error: (Each undeclared  
identifier is reported only once
Modules/objc/bundle-variables.m:221: error: for each function it  
appears in.)
lipo: can't figure out the architecture type of: /var/folders/Hv/ 
HvVKXkVwF3Kt9ULgIvCLP++++TI/-Tmp-//ccrLeLvv.out
error: command 'gcc' failed with exit status 1

I found one post on the mailing list from July that went unanswered  
detailing pretty much the same situation. Any hints?

Thanks,

David


More information about the Pythonmac-SIG mailing list