[Python-bugs-list] [ python-Bugs-474831 ] Command history doesn't work on Mandrake
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 02 Nov 2001 04:15:25 -0800
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: peter nordlund (qnorpet)
Date: 2001-11-02 04:15
Message:
Logged In: YES
user_id=358954
After following montanaros suggestion to install
the -devel rpm, things worked out of the box!
/Peter
----------------------------------------------------------------------
Comment By: peter nordlund (qnorpet)
Date: 2001-10-26 03:52
Message:
Logged In: YES
user_id=358954
Ok, before I saw montanaros suggestion I
built readline4.2 (I think it was) with --with-termcap, and
edited Setup as follows:
readline readline.c -I/work1/pkg/utils/readline/4.2/include
-L/work1/pkg/utils/readline/4.2/lib -L/lib -lreadline -
ltermcap
I think I also had mo make a symlink
from /lib/libtermcap.so.2.0.8 to /lib/termcap.so
I could be wrong in some details, since I'm not sitting
right at the Linux-box right now.
Then it worked as it should!!!
I will try monataros suggestion and will report back after
the weekend.
----------------------------------------------------------------------
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