系统为ubuntu10.04,calibre从2009、2010、2011,已经试过好几个版本,报错基本都是“Can't find a usable tk.tcl in the following directories”
报错如下所示
---------------------------------------------------------------------------------------------------------------------------------
WARNING: Could not find /etc/redhat-release or /etc/SuSE-release
WARNING: Calibre is not supported on with this Linux version
Application initialization failed: Can't find a usable tk.tcl in the following directories:
/EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv_comp/8.4/lib/tk8.4 /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv_comp/8.4/lib/tcl8.4/tk8.4 /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv/lib/tk8.4 /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/lib/tk8.4 /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv/library /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/library /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/tk8.4.9/library /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/tk8.4.9/library
/EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv_comp/8.4/lib/tk8.4/tk.tcl: can't access "::tk:riv.::ffff:192.168.0.104:0": parent namespace doesn't exist
can't access "::tk:riv.::ffff:192.168.0.104:0": parent namespace doesn't exist
while executing
"upvar #0 ::tk:riv.::ffff:192.168.0.104:0 ::tk::Priv"
("uplevel" body line 1)
invoked from within
"uplevel #0 upvar #0 ::tk::Priv.$disp ::tk::Priv"
(procedure "tk::ScreenChanged" line 9)
invoked from within
"tk::ScreenChanged [winfo screen .]"
(file "/EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv_comp/8.4/lib/tk8.4/tk.tcl" line 281)
invoked from within
"source /EDA/Mentor/Calibre_2011/x86_cal_2011.2_34.26/pkgs/icv_comp/8.4/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.
------------------------------------------------------------------------------------------------------------------------------------