Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19342 - pysol is missing a python dependancy
Summary: pysol is missing a python dependancy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-15 00:18 UTC by david
Modified: 2004-10-30 16:59 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 david 2003-04-15 00:18:52 UTC
on execute

Traceback (most recent call last):
  File "pysol.py", line 117, in ?
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
                                
PySol cannot find the Tkinter Python libraries.
Please check your Python installation.


I have the python 2.2.2 installed, not much else in terms of python/tcl
I could provide fuller listing of what I have installed if you require

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde gnome libg++
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gdbm berkdb slang readline tetex bonobo svga tcltk java guile X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-28 16:06:49 UTC
you need to re-emerge python with tk support. 

USE="tcltk" emerge python

i've added a warning to that effect when you try to install it without tkinter support in python.
Comment 2 david 2003-04-29 10:59:10 UTC
that did the trick, thanks
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-07 03:46:22 UTC
Reopening because I'm resolving this.  Tired of seeing it in my list.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2003-10-07 03:46:32 UTC
Resolved
Comment 5 Brett I. Holcomb 2004-10-30 16:59:10 UTC
It's broken again.  I'm running the protage (info below) and I get this even after reemerging python with 

USE="tcltk" emerge python and then trying emerge pysol.


root@gandalf files # emerge pysol
Calculating dependencies ...done!
>>> emerge (1 of 1) games-board/pysol-4.82 to /
>>> md5 src_uri ;-) pysol-4.82.tar.bz2
 * You need to recompile python with Tkinter support.
 * That means: USE='tcltk' emerge python


!!! ERROR: games-board/pysol-4.82 failed.
!!! Function pkg_setup, Line 25, Exitcode 0
!!! missing tkinter support with installed python
!!! If you need support, post the topmost build error, NOT this status message.

root@gandalf files # emerge --info
Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.2
fs-r8 i686)
=================================================================
System uname: 2.4.24-xfs-r8 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/
.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety
p.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gento
tp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ f
//gentoo.mirrors.pair.com/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="acpi alsa apm berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 fbco
oomaticdb gdbm gpm gtk2 java jpeg libg++ mad ncurses nls odbc opengl pam pass
e perl postgres python readline samba slang slp snmp ssl svga tcltk tcpd true
e usb x86 zlib"