View previous topic :: View next topic |
Author |
Message |
ben106 n00b
Joined: 27 Oct 2006 Posts: 17 Location: Suisse (NE)
|
Posted: Sun Dec 23, 2007 10:39 am Post subject: [Solved] Bkchem wants tkinter |
|
|
Hi,
I did an emerge world and since then, bkchem doesn't start anymore. The error message is :
Code: |
benjamin@calypso ~ $ bkchem
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bkchem/bkchem.py", line 107, in ?
from main import BKchem
File "/usr/lib/python2.4/site-packages/bkchem/main.py", line 23, in ?
from Tkinter import *
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 38, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
|
I tried revdep-rebuild, didn't help. I have the tk USE flag in my make.conf. Tried re-emerge python, didn't help.
Now I unmerged bkchem, and when I try to emerge it again, it fails saying :
Code: |
* Messages for package sci-chemistry/bkchem-0.12.0_pre3:
* You need to recompile python with Tkinter support.
* Try adding: 'dev-lang/python tk'
* in to /etc/portage/package.use
*
* ERROR: sci-chemistry/bkchem-0.12.0_pre3 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* bkchem-0.12.0_pre3.ebuild, line 18: Called distutils_python_tkinter
* distutils.eclass, line 120: Called python_tkinter_exists
* python.eclass, line 109: Called die
* The specific snippet of code:
* die "missing tkinter support with installed python"
* The die message:
* missing tkinter support with installed python
*
* If you need support, post the topmost build error, and the call stack if rele
vant.
* A complete build log is located at '/var/tmp/portage/sci-chemistry/bkchem-0.1
2.0_pre3/temp/build.log'.
* This ebuild is from an overlay: '/usr/local/portage/'
*
|
Does someone have an idea how to solve my problem ?
Thanks
Ben
Last edited by ben106 on Thu Dec 27, 2007 5:46 pm; edited 1 time in total |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Sun Dec 23, 2007 12:01 pm Post subject: |
|
|
Since you have emerged python with the tk USEflag I think you can best file a bugreport. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
Back to top |
|
|
ben106 n00b
Joined: 27 Oct 2006 Posts: 17 Location: Suisse (NE)
|
Posted: Mon Dec 24, 2007 12:44 pm Post subject: |
|
|
Thanks for the answer.
Where can I post a bugreport ? (I never did that..)
Is it more like to be a portage or python or bkchem bug ? I would say portage (ebuild), but really not sure. |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Mon Dec 24, 2007 1:37 pm Post subject: |
|
|
You can file a bug report here: https://bugs.gentoo.org/ Before you do so make sure the bug isn't already filed. To check this search with 'All' prefix
Code: | ALL sci-chemistry/bkchem |
If no bugreport has been filed (which is rare) you can file on yourself. For more information look here: http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap5
Or ask us off course! _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
Back to top |
|
|
ben106 n00b
Joined: 27 Oct 2006 Posts: 17 Location: Suisse (NE)
|
Posted: Thu Dec 27, 2007 5:45 pm Post subject: |
|
|
Problem solved !
I had some tcl/tk stuff in /usr/local/include, so I removed the /usr/local/include directory and now it works !
I think this directory was created when I installed someting by a F&D (fast and dirty) method (without emerge...) Shame on me..! |
|
Back to top |
|
|
Kasumi_Ninja Veteran
Joined: 18 Feb 2006 Posts: 1825 Location: The Netherlands
|
Posted: Thu Dec 27, 2007 11:43 pm Post subject: |
|
|
ben106 wrote: | Problem solved !
I had some tcl/tk stuff in /usr/local/include, so I removed the /usr/local/include directory and now it works !
I think this directory was created when I installed someting by a F&D (fast and dirty) method (without emerge...) Shame on me..! |
Glad to hear you fixed it _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered |
|
Back to top |
|
|
|