Think I fixed things. I found two problems. First of all, my build wasn't universal, but it appparently overwrote the Python framework SDK in /Developer/. So when Xcode tried to build for both ppc and i386, it only found i386. That was the link error I originally posted. I'll re-install Xcode to see if I can fix that.
Secondly, when I then ran my Python-Cocoa app, it picked up the framework in /Library/Frameworks/Python..., which didn't have objc, so it bombed on that. I just deleted /Library/Frameworks/Python.... That seemed to fix that. Bill Ned Deily <n...@acm.org> wrote: > In article <6054.1248909...@parc.com>, Bill Janssen <jans...@parc.com> > wrote: > > I made the mistake of trying to build a version of Python with debugging > > symbols on my Mac. I downloaded the sources to 2.5.4, and did a "make > > frameworkinstall DESTDIR=/tmp". > > > > Now my Python-Cocoa apps won't compile in Xcode. They compiled just > > fine before I did this... > > > > Line Location Tool:0: symbol(s) not found > > Line Location Tool:0: _main in main.o > > Line Location Tool:0: "_PyRun_SimpleFileExFlags", referenced from: > > Line Location Tool:0: _main in main.o > > Line Location Tool:0: "_PySys_SetArgv", referenced from: > > Line Location Tool:0: _main in main.o > > Line Location Tool:0: "_Py_Initialize", referenced from: > > Line Location Tool:0: _main in main.o > > Line Location Tool:0: "_Py_SetProgramName", referenced from: > > > > Any ideas? > > Long shot (Xcode 3.1.3): in the project's Groups & Files list, select > the Python.framework and do a Get Info on it to ensure that the path is > set to /System/Library/... . > > -- > Ned Deily, > n...@acm.org > > _______________________________________________ > 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