Re: [Pyobjc-dev] was: [Swig] Swig for Mac OSX - Objective-C?
Brought to you by:
ronaldoussoren
From: Bob S. <bob...@ma...> - 2002-01-29 22:21:39
|
on 1/29/02 3:48 PM, Steven D. Majewski wrote: >> >> I checked out the pyobjc from CVS, and ran "setup.py install" (probably with >> the 2.2 version of Python, in case that makes a difference). >> > > I believe that *does* make a difference: one of the features of distutils > is that, since you're running Python, it knows which version you're > running and where it's libraries are installed, etc. If you have > several versions installed, you can explicitly run 'python2.1' or > you can give an entire path for an uninstalled version ( '/usr/local/ > src/Python-2.2/python.exe' for example. ) I still can't get it to work. I'm getting this error: DistutilsPlatformError: invalid Python installation: unable to open /usr/local/lib/python2.1/site-packages/lib/python2.1/config/Makefile (No such file or directory) In fact there is nothing in the 'site-packages' directory (??) I looked in /usr/local/lib/python2.1/Lib where there is another site-packages directory (also empty) and a bunch of other localized directories, but it is far from clear to me that picking one of those will solve the problem. > > To be more exact and precise: I did my diffs on 2.1.2 and 2.2 -- I didn't > believe that this was in 2.1 or 2.1.1 but I'm not absolutely sure. > (But that PyObject_DelItemString may be from running setup.py from 2.2) ... > Giving the 2.2 bug a little more thought: I THINK that if I build > a pyobjc.so with a patched 2.2, it should work with an unpatched 2.2 > binary. It's the wrong symbol in Python's Include file that causes > pyobjc to bind to symbol that's not there. If that is true, I'll > probably roll out another distribution, as well as a 2.2 pyobjc.so > binary whether or not I can find and fix that one-last-bug! Well, I see that the patch was accepted, so perhaps the best thing for me to do is sit tight and wait for your revision to work with 2.2 (?) > > Does it also use NSProxy ? (Just wondering if you have more know-how than > I do for debugging my pyobjc problem! ;-) > Sorry :) I guess all that stuff is handled by the NSConnection object. Bob (must have pizza now) |