Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Bkchem wants tkinter
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ben106
n00b
n00b


Joined: 27 Oct 2006
Posts: 17
Location: Suisse (NE)

PostPosted: Sun Dec 23, 2007 10:39 am    Post subject: [Solved] Bkchem wants tkinter Reply with quote

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
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Sun Dec 23, 2007 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
ben106
n00b
n00b


Joined: 27 Oct 2006
Posts: 17
Location: Suisse (NE)

PostPosted: Mon Dec 24, 2007 12:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Mon Dec 24, 2007 1:37 pm    Post subject: Reply with quote

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! :wink:
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
ben106
n00b
n00b


Joined: 27 Oct 2006
Posts: 17
Location: Suisse (NE)

PostPosted: Thu Dec 27, 2007 5:45 pm    Post subject: Reply with quote

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..! :oops:
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Thu Dec 27, 2007 11:43 pm    Post subject: Reply with quote

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..! :oops:


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum