This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author l0nwlf
Recipients eric.araujo, l0nwlf, ronaldoussoren, slcott
Date 2010-06-19.18:32:49
SpamBayes Score 3.2808046e-08
Marked as misclassified No
Message-id <1276972371.37.0.0984677606345.issue9033@psf.upfronthosting.co.za>
In-reply-to
Content
It seems readline module is not installed on your system. 
Quoting Ned Deily's comment from issue8365 which will most probably solve your issue:
"Issue6877 (and subsequent fixes in Issue8066) allows the Python readline module to be built and linked with the OS X editline (libedit) library rather than with the GNU readline library (which is not included with OS X).  However, the libedit included in versions of OS X prior to 10.5 is considered too broken to use here.

By default, if you do not specify an --with-universal-archs other than "32-bit" to configure or if you do not explicitly set MACOSX_DEPLOYMENT_TARGET to another value, configure defaults to using "10.4" (or earlier) so the building of the readline module is skipped.  You can check this:

>>> from distutils.sysconfig import get_config_var 
>>> get_config_var('MACOSX_DEPLOYMENT_TARGET')
'10.4'

(Whether this is the best default is another question.)

As it stands, to be able to build the readline module, either:

(1) supply the GNU readline library as a local library, or

(2) ensure you are building with a deployment target of at least 10.5.  For example:

    ./configure MACOSX_DEPLOYMENT_TARGET=10.6 ; make

Also note that option (2) is not available for 3.1.x since the changes to support editline/libedit were not ported to it; they are, however, in 2.6.5, 2.7 (trunk), and 3.2 (py3k)"
History
Date User Action Args
2010-06-19 18:32:51l0nwlfsetrecipients: + l0nwlf, ronaldoussoren, eric.araujo, slcott
2010-06-19 18:32:51l0nwlfsetmessageid: <1276972371.37.0.0984677606345.issue9033@psf.upfronthosting.co.za>
2010-06-19 18:32:50l0nwlflinkissue9033 messages
2010-06-19 18:32:49l0nwlfcreate