[Python-bugs-list] [ python-Bugs-619843 ] readline broken in configure
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 07 Oct 2002 12:34:40 -0700
Bugs item #619843, was opened at 2002-10-07 21:10
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=619843&group_id=5470
Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jeff Bauer (jeffbauer)
Assigned to: Nobody/Anonymous (nobody)
Summary: readline broken in configure
Initial Comment:
It appears that support for readline broke on my
machine
between 2.2.1 and 2.3a. Pasted below is a relevant
section from config.log.
configure:15640: checking for rl_pre_input_hook in
-lreadline
configure:15673: gcc -o conftest -g -O2 conftest.c
-lreadline -ltermcap -lsocket -lnsl -lposix4 -ldl
-lpthread >&5
configure:15676: $? = 0
configure:15679: test -s conftest
configure:15682: $? = 0
configure:15693: result: yes
configure:15705: checking for rl_completion_matches in
-lreadline
configure:15738: gcc -o conftest -g -O2 conftest.c
-lreadline -ltermcap -lsocket -lnsl -lposix4 -ldl
-lpthread >&5
/var/tmp/ccoJe7u1.o: In function `main':
/export/home/jbauer/CVSPython/python/dist/src/configure:15730:
undefined referen
ce to `rl_completion_matches'
collect2: ld returned 1 exit status
configure:15741: $? = 1
configure: failed program was:
#line 15712 "configure"
#include "confdefs.h"
[My setup: Sparc Solaris 2.6, readline 4.2]
I cut and pasted the relevant section from my old
2.2.1 configure file and readline is now working
again.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-07 21:34
Message:
Logged In: YES
user_id=21627
Why do you think that support for readline broke? The test
have completed as designed: rl_pre_input_hook is present in
your version of readline, rl_completion_matches is not, so
you have readline 4.0 (or 4.1).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=619843&group_id=5470