Further help w/ readline needed (was:Re: Past command buffer gone in interpreter?)

Timothy Grant tjg at hyperlinq.net
Wed Oct 17 07:14:39 CEST 2001

Having recently been through this, you may want to try replacing the
-ltermcap with -lncurses and see if that resolves your problem. It did
for me.

On Tue, 2001-10-16 at 17:18, Tod Fox wrote:
> Ignacio Vazquez-Abrams <ignacio at openservices.net> wrote:
> > You'll need to install the readline-devel RPM.
> I made sure readline was installed on my system, and then installed the
> readline-devel RPM without any problems. I uncommented the readline
> entry in Modules/Setup, but when I run make I get the following error:
> ar cr libpython2.1.a Modules/gcmodule.o  Modules/threadmodule.o
> Modules/signalmodule.o  Modules/posixmodule.o  Modules/_sre.o
> Modules/readline.o  Modules/arraymodule.o  Modules/mathmodule.o
> Modules/timemodule.o  Modules/operator.o  Modules/_testcapimodule.o
> Modules/pwdmodule.o  Modules/grpmodule.o  Modules/audioop.o
> Modules/imageop.o
> ranlib libpython2.1.a
> gcc  -Xlinker -export-dynamic -o python \
>                 Modules/python.o \
>                 libpython2.1.a -lpthread -ldl  -lutil -lreadline
> -ltermcap           -lm
> /usr/bin/ld: cannot find -ltermcap

Stand Fast,

Timothy Grant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20011016/21988e24/attachment.sig>

More information about the Python-list mailing list