Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243282

Summary: dev-util/insight-6.8 doesn't start because "tk wasn't installed properly"
Product: Gentoo Linux Reporter: Roland Leißa <sf_knue>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roland Leißa 2008-10-22 21:03:51 UTC
just start insight and you'll see an error message. I have dev-lang/tk-8.4.18 on my system. I guess it is important to know.

Reproducible: Always

Steps to Reproduce:
# insight

Actual Results:  
Tk_Init failed: Can't find a usable tk.tcl in the following directories: 
    /usr/share/insight/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.1/library /tk8.4.1/library

/usr/share/insight/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym                                 
    while executing                                                 
"bind Listbox <MouseWheel> {                                        
    %W yview scroll [expr {- (%D / 120) * 4}] units                 
}"                                                                  
    (file "/usr/share/insight/tk8.4/listbox.tcl" line 182)          
    invoked from within                                             
"source /usr/share/insight/tk8.4/listbox.tcl"                       
    (in namespace eval "::" script line 1)                          
    invoked from within                                             
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)                               
    invoked from within                                              
"SourceLibFile listbox"                                              
    (in namespace eval "::tk" script line 4)                         
    invoked from within                                              
"namespace eval ::tk {                                               
        SourceLibFile button                                         
        SourceLibFile entry                                          
        SourceLibFile listbox                                        
        SourceLibFile menu                                           
        SourceLibFile panedwindow                                    
        SourceLibFile ..."                                           
    invoked from within                                              
"if {$::tk_library ne ""} {                                          
    if {[string equal $tcl_platform(platform) "macintosh"]} {        
        proc ::tk::SourceLibFile {file} {                            
            if {[catch {                                             
                namesp..."                                           
    (file "/usr/share/insight/tk8.4/tk.tcl" line 393)                
    invoked from within                                              
"source /usr/share/insight/tk8.4/tk.tcl"                             
    ("uplevel" body line 1)                                          
    invoked from within                                              
"uplevel #0 [list source $file]"                                     
/usr/lib/tk8.4/tk.tcl: can't import command "mc": already exists     
can't import command "mc": already exists                            
    while executing                                                  
"namespace import ::msgcat::mc"                                      
    (in namespace eval "::tk::msgcat" script line 21)                
    invoked from within
"namespace eval msgcat {
        namespace export mc mcmax
        if {[interp issafe] || [catch {package require msgcat}]} {
            # The msgcat package..."
    (in namespace eval "::tk" script line 3)
    invoked from within
"namespace eval ::tk {
    # Set up the msgcat commands
    namespace eval msgcat {
        namespace export mc mcmax
        if {[interp issafe] || [catch {p..."
    (file "/usr/lib/tk8.4/tk.tcl" line 20)
    invoked from within
"source /usr/lib/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.


Expected Results:  
insight launches.

# emerge --info
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================                                                
System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5                    
Timestamp of tree: Tue, 21 Oct 2008 18:45:01 +0000                                                               
app-shells/bash:     3.2_p39                                                                                     
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                            
dev-lang/python:     2.4.4-r15, 2.5.2-r8                                                                         
dev-util/cmake:      2.6.2                                                                                       
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.3.0-r1                                                                                    
sys-apps/sandbox:    1.2.18.1-r3                                                                                 
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                                
sys-devel/binutils:  2.18-r3                                                                                     
sys-devel/gcc-config: 1.4.0-r4                                                                                   
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.26                                                                                      
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"                                                                
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/share/config"                                                                          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                                                                               
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"                                                                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                                                                                        
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                      
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "                                                                                                            
LANG="en_US.utf8"                                                                                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                                                                                                       
LINGUAS="de en"                                                                                                                                                                         
MAKEOPTS="-j1"                                                                                                                                                                          
PKGDIR="/usr/portage/packages"                                                                                                                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                                                                  
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                               
PORTDIR="/usr/portage"                                                                                                                                                                  
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi activefilter addbookmarks agg alias alsa amarok amd64 ansi aoss apm atmo autoreplace bash-completion bdf berkdb bluetooth branding bzip2 cairo captury cdaudio cdb cdda cddb cdinstall cdparanoia cdr cdrom chm cli clisp clucene connectionstatus contactnotes context contrib cpudetection cracklib crypt cscope css cups curl cviewer d daap dbus designer-plugin dga dhcp dialup divx dri dssi dts dvd dvdnav dvdr dvdread dvi eds emboss emerald encode esd evo exif exiv2 extra fam ffmpeg fftw firefox flac floppy fortran fuse games gcj gd gdbm ggi gif gimp glitz gphoto2 gpm graphics graphviz gs gstreamer gtk gtk2 hal highlight history htmlhandbook humanities hyperestraier iconv id3 id3tag idn ieee1394 ifp imagemagick inotify ipod ipv6 irc isdnlog jack jackmidi java java5 javascript joystick jpeg jpeg2k kcal kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kdm kerberos kipi kpathsea kqemu ladspa lame latex ldap libcaca libnotify libsamplerate lilypond lm_sensors logitech-mouse lyx mad mbrola midi mikmod mmx mmxext mng mozilla mp2 mp3 mp3tunes mp4 mpeg mpeg2 mplayer msn mtp mudflap multilib musepack music musicbrainz ncurses nepomuk networkmanager newxkb njb nls nowlistening nptl nptlonly nsplugin nvidia ogg omega openal openexr opengl openmp openvpn oscar oss pam pch pcre pdf perl plotutils png ppds pppd print pstricks publishers pulseaudio python qt qt3 qt3support qt4 quicktime radio rar rdesktop readline realmedia reflection samba scanner science screen sdl sdl-image sdl-sound semantic-desktop session skins sms solver sound sounds soundtouch sox speex spell spl sql sse sse2ssl startup-notification statistics stream subversion svg sysfs taglib tcpd tetex tex4ht texteffect tga theora tiff timidity toolkit-scroll-bars transcode translator truetype twolame type1 ui unicode unzip upnp usb v4l v4l2 valgrind vamp vcd vdr vim vim-pager vim-syntax vim-with-x visualization vlm vnc vorbis wav wavpack webinterface webpresence wideband wifi winpopup wma wmf wxwindows xanim xcomposite xetex xine xinerama xml xorg xpm xscreensaver xv xvid yahoo zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-22 22:31:32 UTC
This is the same problem as in bug 225999, please try the patches suggested in that bug and give your feedback there

*** This bug has been marked as a duplicate of bug 225999 ***