nam不能使用,解決辦法

nam出現問題:

[code omitted because of length]
: no event type or button # or keysym
    while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li...


解決辦法:

1、在Aqua-Sim-1.0/tk-8.4.13/generic/tkBind.c的第588行後添加3行代碼
添加後,效果爲下圖所示:

注意:要使用root用戶修改文件,才能保存。

2、返回Aqua-Sim-1.0目錄,運行: ./install

3、輸入:nam 驗證nam可以使用




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章