header installation issue breaks build for pyobjc 2.3 and 2.4
Zach Pincus <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I had some trouble installing from source pyobjc 2.3 or 2.4 from the SVN tag or trunk (respectively), that I seem to have isolated to a problem with pyobjc-core not installing pyobjc-api.h and pyobjc-compat.h into EGG-INFO/include. This causes 'python setup.py install' to fail for other modules. Here's what I did: svn co http://svn.red-bean.com/pyobjc/tags/pyobjc-2.3.1/ pyobjc-2.3.1 cd pyobjc-2.3.1/pyobjc-core/ python setup.py install cd ../pyobjc-framework-Cocoa python setup.py install >>> FAIL <<< The problem is that, as above, those headers aren't installed into EGG-INFO/include, so they don't show up in the dist info when pyobjc_setup.py requests it, causing that file to instead write out an old and incorrect-for-pyobjc-2.3 api header file (and no compat header file), which then breaks subsequent builds. I fixed this by manually copying the header files to EGG-INFO/include. I did not have time to track down why they weren't installed properly in the first place. I had a similar-looking issue with 2.4 from the trunk, but I did verify that this fix solved it. Perhaps I was going about installing things all wrong, but regardless, I think there's some kind of bug in here. Good luck with that. Zach ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd