Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127059 - fetchmail requires distutils_python_tkinter
Summary: fetchmail requires distutils_python_tkinter
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-21 02:44 UTC by Kees Jongenburger
Modified: 2006-10-06 18:53 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 Kees Jongenburger 2006-03-21 02:44:30 UTC
When I run fetchmailconf I get the following error

keesj@k630m ~ $ fetchmailconf
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/fetchmailconf.py", line 10, in ?
    from Tkinter import *
ImportError: No module named Tkinter

I followed this post and emerged pyton again with tcltk now it works
http://linuxlah.blogspot.com/2005/11/how-to-install-tkinter-at-gentoo-linux.html

perhaps the distutils_python_tkinter must be added to ebuild?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-21 02:50:22 UTC
Please, don't restrict bugs without a reason.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2006-08-19 16:38:28 UTC
There is a hint in fetchmail's output since Feb 2002 that python needs to be compiled with "tcltk" (which has changed to "tk" recently).


*fetchmail-5.9.7 (14 Feb 2002)

  14 Feb 2002; Arcady Genkin <agenkin@thpoon.com> fetchmail-5.9.7.ebuild :
  Updated to 5.9.7 version.
  Warns the user if fetchmailconf cannot be run due to missing python+tkinter.


|   einfo "You will not be able to use fetchmailconf(1), because you"
|   einfo "don't seem to have Python with tkinter support."
|   einfo
|   einfo "If you want to be able to use fetchmailconf(1), do the following:"
|   einfo "  1.  Include 'tcltk' in USE variable in your /etc/make.conf."
|   einfo "  2.  (Re-)merge Python."

Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 18:53:00 UTC
IMO, distutils_python_tkinter is not viable here, because it makes the emerge die if tkinter support is not in.

fetchmailconf is used by very few people - it is not critical to fetchmail's functionality, so the warning in the ebuild is appropriate here.