|
From: Barry Wark <barrywark <at> gmail.com>
Subject: [FIXED] Re: Got a problem to install PyObjC2.0 Newsgroups: gmane.comp.python.pyobjc.devel Date: 2007-11-19 02:25:35 GMT (32 weeks, 4 days, 18 hours and 53 minutes ago) Just a follow up to this post with a possible solution... It looks like the problem building pyobjc2 with the Framework python build from python.org was using the 10.4u SDK rather than the 10.5 SDK. Removing the "-isysroot /Developer/SKDs/MacOSX10.4u.sdk" from /Library/Python/.../lib/config/Makefile (generated by python's configure script) seems to allow pyobjc to build, and pass all unit tests using the python.org Framework build (installed in /Library/Frameworks). I'm not sure what the concequences of removing the isysroot flag from Python's Makefile are. At least for a temporary fix, it's easier than compiling a new Framework build from source. Just FYI, Barry On Nov 8, 2007 4:10 PM, Barry Wark <barrywark <at> gmail.com> wrote: > Given recent traffic on the pythonmac-sig, it sounds like the system > python on Leopard goes out of its way to put the site-packages > directory in /Library last on the sys.path. So, if we want to write > python apps that use newer versions of, e.g., numpy than those that > shipped with Leopard, we're SOL unless we want to go through some > PYTHONPATH contortions. The easy solution is to install MacPython into > /Library/Frameworks. Then the system python and the user-updated > python can be easily separated. > > I've so far been unable to install pyobjc2 on Leopard using MacPython > 2.5.1. It sounds like I'm having similar problems to the OP (output > of ./02-develop-all.sh is included; is 02-develop-all.sh the correct > way to build/install the entire package?). As Ronald mentioned, it > looks like this is because the 10.4u SDK is being used. Is there a way > to specify building using the 10.5 SDK and will this build work with > the MacPython 2.5.1 (dowloaded as a DMG from python.org) which is > presumably built with the 10.4u SDK? > > thanks, > Barry > > > On Nov 7, 2007 11:19 PM, Ronald Oussoren <ronaldoussoren <at> mac.com> wrote: > > > > On 8 Nov, 2007, at 7:14, Seungchan Oh wrote: > > > > > Hello, > > > > > > I'm having a difficulty to install PyObjC2.0 at Leopard with MacBook > > > Pro. > > > > I haven't tried building on 10.4 for a while (which is what you're > > basicly trying to do because you're using the 10.4 SDK). Appearently > > there are some issues there. > > > > Note that PyObjC 2.0 definitely requires some work to be useful on > > Tiger systems because Tiger doesn't ship with bridgesupport files and > > PyObjC 2 requires those files to provide full bindings. Generating > > bridgesupport files is easy enough, but not a priority for me right > > now because building them takes a lot of time (for the computer, the > > task barely requires interaction with a human) and I'm currently > > thinking about some changes that would require rebuilding the > > bridgesupport files anyway. > > > > BTW. You do know that Leopard ships with a perfectly fine copy of > > Python 2.5 and PyObjC 2.0? At this point in time it would be easier to > > use that instead of trying to rebuild PyObjC from scratch. > > > > Ronald > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Pyobjc-dev mailing list > > Pyobjc-dev <at> lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ |
|
|