How to build pyobjc for 10.6 & 10.7+ (on 10.7)?
Michael McCracken <[email protected]> Mon, 5 Nov 2012 08:33:35 -0800
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <CAG-gt+wUFnmJGhR4mye-076g5OsZn2Fj7ZvuBSigRGGuep3sYw@mail.gmail.com> |
A pyobjc built on 10.7 fails to load libobjc.dylib on 10.6, because 10.6 libobjc is missing some symbols - _objc_allocateProtocol is the first one it complains about. So, to ship an app with pyobjc that will run on 10.6 and 10.7, what's the best route? I guess building pyobjc on 10.6 should work, but ideally it'd be possible to build this pyobjc on 10.7. I recently tried building pyobjc with MACOSX_DEPLOYMENT_TARGET=10.6, and found a mismatch. It seems like the correct way is to also build python with that variable set. Is that everything, or are there any gotcha's I'm missing? Thanks, -mike ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev