|
|
emerge amsn后发现该软件无法启动。 提示信息如下:
Shrek ~ # amsn
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/usr/lib/tcl8.4/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.15/library
/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.
Error in startup script: no event type or button # or keysym
while executing
"bind Pixmapscroll <MouseWheel> {
tk::ScrollByUnits %W v [expr {- (%D)}]
}"
invoked from within
"if {![catch {tk windowingsystem} wsystem] && $wsystem == "x11"} {
bind Pixmapscroll <MouseWheel> {
tk::ScrollByUnits %W v [expr {- (%D)}]
..."
(file "pixmapscroll.tcl" line 717)
invoked from within
"source [file join pixmapscroll.tcl]"
("package ifneeded" script)
invoked from within
"package require pixmapscroll"
invoked from within
"if { $initialize_amsn == 1 } {
if {![::picture: oaded]} {
if { [OnDarwin] } {
tk_messageBox -default ok -message "There's a problem loading a..."
(file "gui.tcl" line 4)
invoked from within
"source gui.tcl "
("uplevel" body line 23)
invoked from within
"uplevel \#0 {
# amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
source amsncore.tcl
source audio.tc..."
(procedure "reload_files" line 2)
invoked from within
"reload_files"
(file "/usr/bin/amsn" line 272) |
|