[Pythonmac-SIG] 2.2 compile problem

Steven Burr sburr@home.com
Wed, 12 Dec 2001 13:57:26 -0700


On Wednesday, December 12, 2001, at 05:57 AM, Jack Jansen wrote:

>> This seems to be a bug in the assumptions in setup.py for OS X. Please
>> correct me if I'm wrong, but line 461, "# OSX has an old Berkeley 
>> curses,
>> not good enough for the _curses module." hints that perhaps the
>> possibility that OS X may have been upgraded to gnu ncurses is not
>> considered. This would then be a bug. For example, this is exactly 
>> what I
>> have done.
>>
>> I am still no closer to locating what is telling make to build the 
>> curses
>> module. And help to this is greatly appreciated. It seems ridiculous 
>> that
>> no one on this list knows where this is being done.
>
> Nathan,
> you're on fresh ground here. I don't think anyone every tried building 
> curses
> or readline on OSX.

FWIW, the fink distribution of python includes readline and curses 
support.  When I run the interpreter in Terminal or in an XDarwin 
terminal, I have command history and editing and am able to import 
curses with no errors.

The info file for python 2.2b2 lists readline as a dependency; it 
doesn't list the ncurses library, but I think that's because it's 
included in the fink base system.

If it would be helpful, I'd be happy to e-mail the fink patch file for 
python.  If on the other hand I've completely missed the point of this 
discussion, I apologize.