Re: [Pyobjc-dev] Help in bundling our PyObjC app?
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-06-16 02:05:20
|
On Sunday, Jun 15, 2003, at 11:18 US/Eastern, Gary Robinson wrote: > Actually a vaguely remembered this morning that you had emailed me > about > this once before, a few weeks ago! I searched my records and found it! > OI > had been so immersed in other tasks in the interim that I forgot. > Maybe I'm > losing brain cells in my old age! But the earlier message didn't > explain how > to use it as completely as this one did, so this is great. Heh -- I completely forgot I'd sent it.... a lot has happened in the past few weeks. The instructions for readline involve dynamically linking against Apple's Readline.framework. Which may not be there any longer (it was in one dev tool, but removed later or something). I just went through this on the plane today (I'm in CA for WWDC next week). Instead, I would recommend: - download the readline 4.3 source - install by: ./configure --disable-dynamic --enable-static sudo make install - grab the readline package I mentioned before - edit setup.py; remove all references to Frameworks. Add "-lreadline", "-lhistory", "-ltermcap" to the extra_link_args (after removing the -framework and -F for Readline.framework). - sudo python setup.py install End result should be a readline module that is statically linked against the readline library and will work against any OS X 10.2 system, regardless of the state of the readline framework. b.bum |