[Python-bugs-list] [ python-Bugs-565786 ] termcap vs terminfo - AIX 4.3.3
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 07 Jun 2002 05:14:14 -0700
Bugs item #565786, was opened at 2002-06-07 14:14
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=565786&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Matthews (mcmatthews)
Assigned to: Nobody/Anonymous (nobody)
Summary: termcap vs terminfo - AIX 4.3.3
Initial Comment:
Hi,
I am compiling Python-2.2.1 on AIX 4.3.3 and do not
have the termcap library available.
The command:
./Modules/ld_so_aix cc_r -bI:Modules/python.exp
build/temp.aix-4.3-2.2/_cursesmodule.o -
L/usr/local/lib -lcurses -ltermcap -o build/lib.aix-
4.3-2.2/_curses.so
fails with:
ld: 0706-006 Cannot find or open library file: -l
termcap
ld:open(): A file or directory in the path
name does not exist.
So I enabled the line in Modules/Setup "#readline
readline.c -lreadline -ltermcap" as "readline
readline.c -lreadline" .
However the compile fails because not all of
readline.c 's include files are available:
"./Modules/readline.c", line 17.10: 1506-296 (S)
#include file <readline/readline.h> not found.
"./Modules/readline.c", line 18.10: 1506-296 (S)
#include file <readline/history.h> not found.
These include files are not in the 2.0, 2.0.1 or 2.2.1
source files.
I could not find a GNU site where I had access to
download the source for readline.
Am I on the right track? Or would the linker still
fail after I compile readline.C with the missing
include files? Should I rather be using terminfo?
Yours sincerely
Chris Matthews
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=565786&group_id=5470