[Python-bugs-list] [Bug #129994] problem building readline extension on linux

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Jan 2001 16:40:27 -0800


Bug #129994, was updated on 2001-Jan-24 16:40
Here is a current snapshot of the bug.

Project: Python
Category: Extension Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: bcollar
Assigned to : nobody
Summary: problem building readline extension on linux

Details: Howdy

Using debian stable, 2.2.18pre1. Configure ran fine, python built okay, but
the readline extension failed to build with this error:

building 'readline' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -fpic -I.
-I/tmp/Python-2.1a1/./Include -IInclude/ -I/usr/local/include -c
/tmp/Python-2.1a1/Modules/readline.c -o
build/temp.linux-i586-2.1/readline.o
gcc -shared build/temp.linux-i586-2.1/readline.o -L/usr/local/lib
-lreadline -ltermcap -o build/lib.linux-i586-2.1/readline.so
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
make: *** [sharedmods] Error 1

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=129994&group_id=5470