readline support for ActivePython 2.5.0 (OSX)

Posted by fonnesbeck on 2007-04-30 08:30

I'm at my wit's end trying to enable readline support for ActivePython 2.5.0 in OSX. For past versions, it was simply a matter of compiling readline and moving the readline.so file to the appropriate python directory. For 2.5.0, this no longer works. My freshly-compiled version is not even recognized -- no error messages in the console, nothing -- and moving the file from my 2.4.3 installation results in all sorts of warnings.

Has anyone gotten this to work? I understand the GPL issues related to not having readline available by default, but its crazy for users to have to go through this voodoo in order to get a usable command line experience.

Thanks in advance for any ideas.

trentm | Mon, 2007-04-30 17:06

I hope to have some answer for this for ActivePython 2.5.1.2 (note that this will not be the *next* ActivePython release).

You might be able to build the readline module following the instructions mentioned here:

http://www.packtpub.com/article/Setting-Up-Python-Development-Environmen...