Problem compiling Python on Suse 6.1
Mirko Liss
n89553 at stud.uni-paderborn.de
Fri Jul 30 07:44:00 EDT 1999
Tomaz Ficko wrote:
>
> I have a problem compiling Python 1.5.2 with Tk and readline support.
> I'm using Suse 6.1 (evaluation iso):
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> Tcl/Tk 8.0.5
> bash-2.02
Download the source package of python151 from the suse dist and
look at the changes they made. Http://www.suse.de/ftp.html
lists several ftp-servers.
For suse60, it boils down to:
- grep the python source for <tcl.h> and <tk.h>
and replace with <tcl80.h> resp. <tk80.h>
- edit Module/Setup. Uncomment several line with respect to the
software you installed (Tix, BLT, gdbm etc). This includes:
readline readline.c -lreadline # -ltermcap
curses cursesmodule.c -lncurses # -ltermcap
zlib zlibmodule.c -$(prefix)/include -L$(exec_prefix)/lib -lgz #
-lz
- consider installing the ncurses-module by Oliver Andrich
- suse comes with a static lib readline.a .
I built readline.so from source long before
I installed Python 152. This might not be
necessary.
However, your mileage may vary.
regards,
Mirko
--
M Liß, <n89553 at hrz.uni-paderborn.de>
More information about the Python-list
mailing list