Re: [Pyobjc-dev] Error while building
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-08-04 17:25:17
|
On Monday, 4 August, 2003, at 16:47, b.bum wrote: > I had a previous version of PyObjC installed (no surprises, there :), > updated from CVS, and did a 'sudo python setup.py install'.... > > And the build crashed as shown below. After removing the previously > installed version of PyObjC, the installation works fine. > > However, this indicates that we are picking up the previously > installed version during the build. That could cause wonky, > non-deterministic, build failures. The CodeGenerator script tries to import objc and uses 'objc.lookUpClass' to detect if a typename denotes a class, if objc cannot be imported it uses a static list for that. That static list must be complete if we want to support installation of a complete PyObjC without a prior PyObjC installation, and therefore the import of objc shouldn't buy us anything. I'll update the code. Ronald |