[Python-bugs-list] [ python-Bugs-474831 ] Command history doesn't work on Mandrake

noreply@sourceforge.net noreply@sourceforge.net
Thu, 25 Oct 2001 08:15:05 -0700


Bugs item #474831, was opened at 2001-10-25 04:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474831&group_id=5470

Category: Python Interpreter Core
Group: Not a Bug
Status: Closed
Resolution: Invalid
Priority: 5
Submitted By: peter nordlund (qnorpet)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Command history doesn't work on Mandrake

Initial Comment:
When I build version 2.2b1 and 2.2a4 on my
Linux Mandrake 8.1 pc the command history
doesn't work. The python that is included in
Mandrake 8.1 works ok in that regard.
I can't use arrow keys or ctrl-p to go backwards.
No ctrl- or arrow key-strokes seems to work.


When I build 2.2a4 for Solaris it works ok.

I have Swedish keyboards, in case that could matter.

Best regards,
Peter Nordlund


----------------------------------------------------------------------

>Comment By: Skip Montanaro (montanaro)
Date: 2001-10-25 08:15

Message:
Logged In: YES 
user_id=44345

Actually, you may well have the readline RPM installed, but not the readline-devel RPM.  To compile programs that include support for a given package, you need to install the "-devel" RPM, which includes the various .h files needed to compile the program.  Python's setup.py script is probably looking for, but not finding /usr/include/readline/readline.h.

Skip


----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-25 05:56

Message:
Logged In: YES 
user_id=6380

You probably don't have the GNU readline library installed
in a place where Python looks for it. Download its source
from a GNU site and build and install it.

(If you *do* have GNU readline installed, it would be
interesting to find out why setup.py doesn't find it and/or
why it doesn't build the readline extension module.)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474831&group_id=5470