[Python-Dev] readline and setup.py

M.-A. Lemburg mal@lemburg.com
Fri, 19 Jan 2001 22:46:24 +0100


The new setup.py procedure for Python causes readline not to
be built on my machine. Instead I get a linker error telling
me that termcap is not found.

Looking at my old Setup file, I have this line:

readline readline.c \
	 -I/usr/include/readline -L/usr/lib/termcap \
	 -lreadline -lterm

I guess, setup.py should be modified to include additional
library search paths -- shouldn't hurt on platforms which
don't need them.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/