The python-2.2.3-4.src.rpm package is missing a buildrequires "tcl-devel" line as it does not successfully if this package is not available: gcc -fPIC -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -I/usr/kerberos/include -I. -I./Include -DHAVE_CONFIG_H -DWITH_APPINIT -I/usr/X11R6/include -DWITH_TIX -c ./Modules/tkappinit.c -o Modules/tkappinit.o Modules/tkappinit.c:15:17: tcl.h: No such file or directory Modules/tkappinit.c:16:16: tk.h: No such file or directory Modules/tkappinit.c:19: syntax error before '*' token Modules/tkappinit.c: In function `Tcl_AppInit': Modules/tkappinit.c:21: `Tk_Window' undeclared (first use in this function) Modules/tkappinit.c:21: (Each undeclared identifier is reported only once Modules/tkappinit.c:21: for each function it appears in.) Modules/tkappinit.c:21: syntax error before "main_window" Modules/tkappinit.c:46: `interp' undeclared (first use in this function) Modules/tkappinit.c:46: `TCL_ERROR' undeclared (first use in this function) Modules/tkappinit.c:74: `main_window' undeclared (first use in this function) Modules/tkappinit.c:112: syntax error before '*' token Modules/tkappinit.c:113: syntax error before '*' token Modules/tkappinit.c:114: `NULL' undeclared (first use in this function) ...
It also needs tk-devel
Funny you say that, I happened to find the bug myself and fix it in CVS, just didn't have the packages rebuilt. Should be fixed in 2.2.3-5. Thanks for reporting this.
Fix confirmed with 2.2.3-5.