To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 09/01/2001 23:26:55
>Arrival-Date: Sat Sep 01 21:24:01 PDT 2001
>Originator: Kent Polk
>Release: NetBSD 1.5.1
System: NetBSD tiamat 1.5.1 NetBSD 1.5.1 (GENERIC) #56: Mon Jul 2 15:54:23 CEST 2001 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/GENERIC i386
The misc/py-readline package (as well as devel/py-curses, devel/py-idle,
lang/py-extclass, etc.) does not support either of the two lang/python*
packages (python or python21) and attempts to build a non-existent
The Makefile.inc that the py-* packages need was not updated for
lang/python, and python21 does not have a Makefile.inc
Also, editing Modules/Setup in either python package to add support
for readline does not build correctly.
cd Modules; make OPT="-O2" VERSION="2.0" prefix="/usr/pkg"
cc -fPIC -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./readline.c
./readline.c:33: conflicting types for `rl_bind_key'
/usr/include/readline/readline.h:111: previous declaration of `rl_bind_key'
./readline.c:34: syntax error before `Keymap'
./readline.c:36: conflicting types for `add_history'
/usr/include/readline/readline.h:81: previous declaration of `add_history'
./readline.c:37: conflicting types for `read_history'
/usr/include/readline/readline.h:96: previous declaration of `read_history'
./readline.c:38: conflicting types for `write_history'
/usr/include/readline/readline.h:97: previous declaration of `write_history'
./readline.c: In function `flex_complete':
./readline.c:399: warning: passing arg 2 of `completion_matches' from
incompatible pointer type
./readline.c: In function `setup_readline':
./readline.c:409: warning: passing arg 2 of `rl_bind_key' from incompatible
./readline.c:411: `emacs_meta_keymap' undeclared (first use in this function)
./readline.c:411: (Each undeclared identifier is reported only once
./readline.c:411: for each function it appears in.)
./readline.c: In function `call_readline':
./readline.c:461: warning: assignment from incompatible pointer type
*** Error code 1
$ cd /usr/pkgsrc/misc/py-readline
tries to build an old version of python
edit Modules/Setup to add readline support
cannot compile the readline module.
The readline module does not build for either python package.