Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92886 - no Tkinter in Python
Summary: no Tkinter in Python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 03:31 UTC by Ingo Krabbe
Modified: 2005-05-19 05:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Krabbe 2005-05-17 03:31:00 UTC
python doesn't include Tkinter though building with USE=tcltk 
Version is python-2.3.5 
Tkinter is needed by several other programs and just assumed to exist when 
python exists at all.  Of course I installed tk and all related software. 
 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2005-05-17 08:14:36 UTC
Did you enable 'X' in your USE flags?
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-05-17 08:17:21 UTC
Python herd, is there some reason we need the X USE flag? It seems redundant,
since the only thing it does is allow the tcltk, but if you don't specify X, you
get no tcltk. Is there some other purpose for the X flag I'm missing?

Comment 3 Alastair Tse (RETIRED) gentoo-dev 2005-05-17 10:44:14 UTC
i would prefer the X flag over tcltk flag if we were to reduce it to one, mainly because there is not other 
toolkit that python bundles itself with.

of course, some ppl who have X and gtk might not want to compile with tcltk support, so that is probably 
why there are two.
Comment 4 Rob Cakebread (RETIRED) gentoo-dev 2005-05-17 14:27:06 UTC
If you want to leave it as is instead of remove one, we could just add a check
in pkg_setup to make sure they have X in addition to tcltk and die if not.
Comment 5 Ingo Krabbe 2005-05-17 22:59:06 UTC
Anyway I included the 'X' flag in my global use flags.  I even tried all 
'IUSE' flags from 'python.*.ebuild' and re-emerged 'blt' as found in the 
forums.  But nothing helps, lib-tk still isn't built. 
 
The complete USE log is: 
"x86 X Xaw3d acpi alsa berkdb bonobo bootstrap build bzlib cdparanoia ctype 
divx4linux doc dvb fftw ftp gcj gd gdbm gtkhtml icq ipv6 java jikes joystick 
kde kdeenablefinal kerberos lprng maildir mime moznocompose moznoirc mozp3p 
mozsvg mozxmlterm ncurses ooo-kde oss php posix readline satellite smime soap 
sockets ssl svg tcltk ucs2 usb vim-with-x xalan xmlrpc linguas_de linguas_tr 
linguas_en_GB userland_GNU kernel_linux elibc_glibc" 
 
May be there are some out of dates here, I don't check them too often. 
 
 
Comment 6 Rob Cakebread (RETIRED) gentoo-dev 2005-05-18 14:55:29 UTC
You have 'build' in your USE flags, which disables tcltk, 
Comment 7 Ingo Krabbe 2005-05-19 05:15:18 UTC
(In reply to comment #6)
Absolutely true, the python ebuild know really compiles with tcltk and tkinter
module.  The build and bootstrap flag managed to find their way through the IUSE
setting of the python.*.ebuild file, which I simply copied to set all USE flags
that modify behaviour.

Maybe the tk ebuild should enable an automatic use flag tcltk, which won't
produce too much overhead IMHO.

I think this bug can be closed.