Problem: readline in Python 2.1 on SuSE 7.1

M.-A. Lemburg mal at lemburg.com
Thu Aug 9 11:20:47 EDT 2001


Huaiyu Zhu wrote:
> 
> Problem installing Python 2.1 on SuSE 7.1 with readline support.
> 
> I've tried several variations of the configuration options
> 
> #readline readline.c -lreadline -ltermcap
> #readline readline.c -lreadline
> #readline readline.c -L/usr/lib -lreadline
> readline readline.c -lreadline -L/usr/share/misc/termcap
> 
> None of them worked. 


Python 2.1 uses distutils to compile in readline. If setup.py
doesn't find readline, you have to patch setup.py, not the
Modules/Setup file.

> Any ideas?  Following are what I found on the system:
> 
> $ locate termcap
> /etc/termcap
> /usr/include/termcap.h
> /usr/lib/perl5/5.6.0/termcap.pl
> /usr/lib/perl5/site_perl/5.6.0/i586-linux/termcap.ph
> /usr/lib/zsh/3.1.9/zsh/termcap.so
> /usr/share/doc/packages/wterm/etc/wterm.termcap
> /usr/share/emacs/20.7/etc/termcap.src
> /usr/share/man/man3/termcap.3ncurses.gz
> /usr/share/man/man5/termcap.5.gz
> /usr/share/misc/termcap
> /usr/share/zsh/help/termcap
> /usr/X11R6/lib/X11/etc/sun.termcap
> /usr/X11R6/lib/X11/etc/xterm.termcap

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/





More information about the Python-list mailing list