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

Reza Lotun reza at getpeer.com
Wed Dec 17 12:03:57 CET 2008


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 <dwf at 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.orgpackage 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 at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



-- 
Reza Lotun
Senior Software Engineer
Peer Technologies Limited
reza at getpeer.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20081217/50ddad8e/attachment.htm>


More information about the Pythonmac-SIG mailing list