Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234965 - programs using dev-lang/tk fail
Summary: programs using dev-lang/tk fail
Status: RESOLVED DUPLICATE of bug 225999
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 21:27 UTC by Marek Sapota
Modified: 2008-08-28 17:11 UTC (History)
1 user (show)

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 Marek Sapota 2008-08-16 21:27:11 UTC
gitk and hgk fail with =dev-lang/tk-8.4.18, I haven't tested against lower versions, but masked version doesn't work either. hgk fails completely, gitk start up, but menu doesn't work. They produce this output:

Application initialization failed: Can't find a usable tk.tcl in the following directories:                                      
    /usr/lib64/tcl8.4/tk8.4 /usr/lib64/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library                   

/usr/lib64/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     
    }"                                                      
    invoked from within                                     
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {                                            
        %W yview scroll [expr {- (%D)}] uni..."                            
    (file "/usr/lib64/tk8.4/listbox.tcl" line 181)                         
    invoked from within                                                    
"source /usr/lib64/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 {$tcl_platform(platform) eq "macintosh"} {                          
        proc ::tk::SourceLibFile {file} {                                  
            if {[catch {                                                   
                namespace eval :: ..."                                     
    (file "/usr/lib64/tk8.4/tk.tcl" line 407)                              
    invoked from within                                                    
"source /usr/lib64/tk8.4/tk.tcl"                                           
    ("uplevel" body line 1)                                                
    invoked from within                                                    
"uplevel #0 [list source $file]"                                           
/usr/lib/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                    
    }"                                                                     
    invoked from within                                                    
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {                                            
        %W yview scroll [expr {- (%D)}] uni..."                            
    (file "/usr/lib/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib/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 {$tcl_platform(platform) eq "macintosh"} {
        proc ::tk::SourceLibFile {file} {
            if {[catch {
                namespace eval :: ..."
    (file "/usr/lib/tk8.4/tk.tcl" line 407)
    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.

Reproducible: Always
Comment 1 Boris Petersen 2008-08-24 19:48:36 UTC
i discovered that aswell with gitk and app-text/ding
Comment 2 milan hodoscek 2008-08-28 16:13:00 UTC
(In reply to comment #1)
> i discovered that aswell with gitk and app-text/ding
> 

probably you want to look at this:

http://bugs.gentoo.org/show_bug.cgi?id=225999
Comment 3 Marek Sapota 2008-08-28 17:11:55 UTC

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