Reza,

Are you implying that you are able to build pyobjc 2.0 on python 2.5? No one I know is able to do this... it would be exceedingly useful to have instructions on how to do this. Even vague and cryptic hints would be appreciated!

I posted a good while ago about this, and occasionally take a crack at it to see if I've learned enough... but it always fails to build.

Add to this the fact that no one answered my question about potential problems of using PyObjC 1.4 on leopard. So, my current strategy is to avoid any code that uses PyObjC (for example, this motivated my shift towards pyglet instead of pygame).

Cheers,
Dav

On Dec 17, 2008, at 3:03 AM, Reza Lotun wrote:

Hi,

As an addendum to that, what is the current status of trying to build Pyobjc 2.0 for Python 2.6? I tried a few weeks ago but it didn't seem to work - is it at all possible?

Thanks,
Reza

On Wed, Dec 17, 2008 at 9:52 AM, David Warde-Farley <d...@cs.toronto.edu > wrote:
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
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig



--
Reza Lotun
Senior Software Engineer
Peer Technologies Limited
r...@getpeer.com


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

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

Reply via email to