Hi: A related question to the Sage+Tck/Tk issue:
After installing the Tck/Tk development libraries and reinstalling Sage's Python, I installed Sage's PIL optional package. It compiled fine for the most part but the tkinter connection is missing (it's a file called _imagingtk.so in site-packages/PIL/*). Here is part of the install log which I think illustrated the problem: <snip> building '_imagingtk' extension creating build/temp.linux-x86_64-2.5/Tk gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/wdj/sagefiles/sage-3.2.1.rc0/local/include/freetype2 -IlibImaging -I/home/wdj/sagefiles/sage-3.2.1.rc0/local/include -I/usr/local/include -I/usr/include -I/home/wdj/sagefiles/sage-3.2.1.rc0/local/include/python2.5 -c _imagingtk.c -o build/temp.linux-x86_64-2.5/_imagingtk.o _imagingtk.c:20:16: error: tk.h: No such file or directory _imagingtk.c:23: error: expected ')' before '*' token _imagingtk.c:31: error: expected specifier-qualifier-list before 'Tcl_Interp' _imagingtk.c: In function '_tkinit': _imagingtk.c:37: error: 'Tcl_Interp' undeclared (first use in this function) _imagingtk.c:37: error: (Each undeclared identifier is reported only once _imagingtk.c:37: error: for each function it appears in.) _imagingtk.c:37: error: 'interp' undeclared (first use in this function) _imagingtk.c:45: error: expected expression before ')' token _imagingtk.c:51: error: 'TkappObject' has no member named 'interp' _imagingtk.c:55: warning: implicit declaration of function 'TkImaging_Init' error: command 'gcc' failed with exit status 1 Try again without tkinter running install <snip> Any ideas on how to fix this? - David Joyner --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---